question

Ann Wright avatar image
Ann Wright asked

Unable to figure out correct setup for LoginWithPSN

I'm unable to get LoginWithPSN working correctly. This is with next-gen auth. I've tried sending both an Auth Code and an ID Token, neither work.

If I leave the IssuerID null, I get "Third-party service error: 4650 - invalid_grant (Invalid authorization code)"

If I set it to match the access code or token's issuer ID (1), I get "Third-party service error: 4170 - access_denied (Access denied)".

Any documentation or assistance would be appreciated.

My titleID is 82033, and I've asked PlayStation to confirm that I am a licensed developer so all the agreements should be satisfied. Feel free to reach out to me directly if needed, since I can't open a support case in my test studio (not paid).

Authentication
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

·
Rick Chen avatar image
Rick Chen answered

According to this document: LoginWithPSN, the AuthCode should be the one provided by the PSN OAuth provider, and the IssuerId is the id of the PSN issuer environment. If null, defaults to production environment.

If you still encounter this issue after you making sure everything is correctly set, unfortunately, due to NDA, we cannot help you further on this issue. Please contact the PlayStation support for help. We have engineers there who could help you.

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.