Steam App Ticket to FString

Hello,
i am struggeling to get a usable version of the Steam App Ticket to my Serverside to authenticate the client.

I am basically using these lines to obtain this ticket:

FString SessionTicket = OnlineInterface->GetIdentityInterface()->GetAuthToken(0);
 return SessionTicket;

they give me output like this:

14000000A0BACC656042C6B7BC7AFA0501001001A5A2225B180000000100000002000000D4C4FCD9000000007B8B240119000000B20000003200000004000000BC7AFA0501001001DE640D00E35295576C02A8C0000000005872155BD821315B0100E53D0400000000003D7445FCDA75F9FA4D4463D3EB3751774A0758B8A5FFF9E7DC301F9BB1A38704411F693E3019CCE28CF393D0A29D93436B70E50F745795C725F36D1990EC4AA52168E8E007910598D2D79C28EE0FFD17B4A5809948476ECFE8EB5D93F2819247D137163ED4B785476F6A74463F38DD43CA389A30C21FF6AEA8BC352E18E715A8

but this output ist completely useless for me due to the fact that usual encrypted app tickets are half the size (i can create them with my server to have a reference), and the server is not able to decrypt this. somehow the conversion to FString ruins the Format of the ticket.

i need a solution to get this ticket in a usable format into the FString.

Or maybe i am thinking wrong and there is another way to accomplish my goal…
i don’t know, pls help

~Nestoro

This looks like a GameSparks request to me (is that right?)

This link suggests that the problem is that you’ve not correctly authenticated (which would be what’s required in order to get a session token). I guess this could be for a number of reasons, but the API key seems most likely:

no you are wrong i am not using GameSparks i am using a selfcoded node.js server

i assume that. because the serverside method works directly on that what you just described as the data that enters the application.

but i could be wrong because i am not 100% sure that OnlineInterface->GetIdentityInterface()->GetAuthToken(0); returns a encrypted steam app ticket

this are the steps i wan’t to full fill:

The client must call ISteamUser::RequestEncryptedAppTicket and wait for the ISteamUser::EncryptedAppTicketResponse_t call result.
The client must then call ISteamUser::GetEncryptedAppTicket to retrieve the user’s encrypted ticket and send that ticket to the secured server.

Ah, fair enough. So at the point your data enters the application (before the conversion to FString) is it correct?

the problem was not the FString conversion but the content in GetAuthToken(0). It was a session ticket not an app ticket