# Steam Login with cUrl?

**URL:** <https://forum.heroiclabs.com/t/steam-login-with-curl/3001>\
**Category:** Runtime Framework\
**Tags:** server-framework, authentication\
**Created:** [September 6, 2022, 3:30am UTC](https://forum.heroiclabs.com/t/steam-login-with-curl/3001 "2022-09-06T03:30:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![waldemarbert](https://avatars.discourse-cdn.com/v4/letter/w/3ab097/32.png) [@waldemarbert](https://forum.heroiclabs.com/u/waldemarbert)\
**Post date:** [September 6, 2022, 3:30am UTC](https://forum.heroiclabs.com/t/steam-login-with-curl/3001/1 "2022-09-06T03:30:35Z")

</div>

Hello guys, I’m trying to link steam authentication with cUrl on PostMan, but this error occurs \>

{  
“code”: 16,  
“message”: “Could not authenticate Steam profile.”  
}

 ![image](https://us1.discourse-cdn.com/flex020/uploads/heroiclabs/original/2X/d/d173667ac9e96c8319fbfff3e8067562b554fc67.png)

---

<div class="post-metadata">

**Author:** ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)\
**Post date:** [September 6, 2022, 3:48pm UTC](https://forum.heroiclabs.com/t/steam-login-with-curl/3001/2 "2022-09-06T15:48:41Z")

</div>

Hello @waldemarbert, please check the server logs and provide any output that could help understand the issue.

---

<div class="post-metadata">

**Author:** ![waldemarbert](https://avatars.discourse-cdn.com/v4/letter/w/3ab097/32.png) [@waldemarbert](https://forum.heroiclabs.com/u/waldemarbert)\
**Post date:** [September 7, 2022, 2:53pm UTC](https://forum.heroiclabs.com/t/steam-login-with-curl/3001/3 "2022-09-07T14:53:19Z")

</div>

Lastest server logs :

```auto
nakama | {"level":"info","ts":"2022-09-07T14:45:23.637Z","caller":"server/leaderboard_scheduler.go:92","msg":"Leaderboard scheduler start"}
nakama | {"level":"info","ts":"2022-09-07T14:45:23.638Z","caller":"server/leaderboard_scheduler.go:279","msg":"Leaderboard scheduler update","end_active":"-1ns","end_active_count":0,"expiry":"-1ns","expiry_count":0}
nakama | {"level":"info","ts":"2022-09-07T14:45:23.638Z","caller":"server/api.go:131","msg":"Starting API server for gRPC requests","port":7349}
nakama | {"level":"info","ts":"2022-09-07T14:45:23.653Z","caller":"server/api.go:265","msg":"Starting API server gateway for HTTP requests","port":7350}
nakama | {"level":"info","ts":"2022-09-07T14:45:23.675Z","caller":"server/console.go:213","msg":"Starting Console server for gRPC requests","port":7348}
nakama | {"level":"info","ts":"2022-09-07T14:45:23.676Z","caller":"server/console.go:316","msg":"Starting Console server gateway for HTTP requests","port":7351}
nakama | {"level":"info","ts":"2022-09-07T14:45:24.394Z","caller":"main.go:188","msg":"Startup done"}
nakama | {"level":"debug","ts":"2022-09-07T14:46:59.892Z","caller":"social/social.go:527","msg":"Getting Steam profile","publisherKey":"62XXXXXXXXXXXXXXXXXXXXXXXXXX","appID":420,"ticket":"valid-steam-token"}
nakama | {"level":"info","ts":"2022-09-07T14:47:00.587Z","caller":"server/core_authenticate.go:752","msg":"Could not authenticate Steam profile.","error":"Invalid parameter, 3"}
nakama | {"level":"debug","ts":"2022-09-07T14:48:57.815Z","caller":"social/social.go:527","msg":"Getting Steam profile","publisherKey":"62XXXXXXXXXXXXXXXXXXXXXXXXXX","appID":420,"ticket":"valid-steam-token"}
nakama | {"level":"info","ts":"2022-09-07T14:48:58.330Z","caller":"server/core_authenticate.go:752","msg":"Could not authenticate Steam profile.","error":"Invalid parameter, 3"}

```

what could it be?

---

<div class="post-metadata">

**Author:** ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)\
**Post date:** [September 7, 2022, 4:47pm UTC](https://forum.heroiclabs.com/t/steam-login-with-curl/3001/4 "2022-09-07T16:47:03Z")

</div>

This seems to indicate that one of your body params is invalid, are you sure you’re sending the correct data in the body, and that it is a valid token?

---

<div class="post-metadata">

**Author:** ![waldemarbert](https://avatars.discourse-cdn.com/v4/letter/w/3ab097/32.png) [@waldemarbert](https://forum.heroiclabs.com/u/waldemarbert)\
**Post date:** [September 7, 2022, 5:02pm UTC](https://forum.heroiclabs.com/t/steam-login-with-curl/3001/5 "2022-09-07T17:02:53Z")

</div>

where can i found this \> SteamToken ??

---

<div class="post-metadata">

**Author:** ![Cat](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/cat/32/88_2.png) [@Cat](https://forum.heroiclabs.com/u/Cat)\
**Post date:** [October 10, 2023, 2:14am UTC](https://forum.heroiclabs.com/t/steam-login-with-curl/3001/6 "2023-10-10T02:14:47Z")

</div>

I’d like to know this as well. How do we get Steam Token from our client?
