# Get Steam Session Ticket

**URL:** <https://forums.unrealengine.com/t/get-steam-session-ticket/465576>\
**Category:** Platform & Builds\
**Tags:** onlinesubsystem, Steam, sessions, unreal-engine, Multiplayer, CPP, question\
**Created:** [May 21, 2020, 1:38pm UTC](https://forums.unrealengine.com/t/get-steam-session-ticket/465576 "2020-05-21T13:38:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![evethir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@evethir](https://forums.unrealengine.com/u/evethir)\
**Post date:** [May 21, 2020, 1:38pm UTC](https://forums.unrealengine.com/t/get-steam-session-ticket/465576/1 "2020-05-21T13:38:33Z")

</div>

Hi everybody. I’m trying to use the SteamSDK in my UE4.24.  
I’d like to get my SteamSession ticket, to do this I’m using

```
SteamUser()->GetAuthSessionTicket(pTicket, ticketMaxLength, &ticketLength);

```

but I always get weird values (e.g. “5”).  
I’ve seen around the web that the Steam session ticket can also be retrieved by using

```
IOnlineSubsystem::Get()->GetIdentityInterface()->GetAuthToken(0)

```

how can I double-check that this is true? Can somebody give me a clearer explanation between these two methods?  
Thanks 🙂

---

<div class="post-metadata">

**Author:** ![HashemShepard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hashemshepard/32/1201564_2.png) [@HashemShepard](https://forums.unrealengine.com/u/HashemShepard)\
**Post date:** [April 9, 2023, 11:24am UTC](https://forums.unrealengine.com/t/get-steam-session-ticket/465576/2 "2023-04-09T11:24:34Z")

</div>

found anything on this ?
