question

ariveros avatar image
ariveros asked

InvalidPSNAuthCode For PS4 Login

We are using Unreal Engine 5 with the PlayFab SDK and when trying to login to playfab using the LoginWithPSN method the playfab response is throwing

Error: PlayFab Error: Third-party service error: 0 - (IDX12709: CanReadToken() returned false. JWT is not well formed: {Long Base64 Encoded Token}. The token needs to be in JWS or JWE Compact Serialization Format. (JWS): 'EncodedHeader.EndcodedPayload.EncodedSignature'. (JWE): 'EncodedProtectedHeader.EncodedEncryptedKey.EncodedInitializationVector.EncodedCiphertext.EncodedAuthenticationTag'.)

My question is if this has anything to do with the AuthCode provided from the Unreal Engine's OnlineSubsystem having a pattern of '5KyRfa' (Example) instead of 'v3.5KyRfa' (example). Using the ps5 login works perfectly with the latter pattern.

apissdks
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Neils Shi avatar image
Neils Shi answered

Due to NDA, PSN related questions shouldn't be discussed in the public forum. Please follow the instructions on Paid Technical Support - PlayFab | Microsoft Docs to contact us. Thanks for your understanding.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.