Error when trying to retrieve User Info

Created by Fawzia Aleem, Modified on Tue, 18 Jun, 2024 at 3:44 PM by Fawzia Aleem

Problem Statement


The customer has set up OAuth 2.0 SSO and is trying to log into their Freshdesk account during which they're thrown an error pointing to retrieving the User Info from the generated token.


Resolution Path


  • Get the configuration details of the SSO from the customer and fetch required information following this article
  • The token or user info response can be invalid because it doesn't contain the required attributes or the attributed are passed incorrectly.
  • The following are the required attributes to be passed in the payload
    1. Sub : Unique identifier for a user which is expected as part of user_info response in case of OAUTH SSO. If this is missing, the error message will be shown.
    2. Email : Email of the user. It is the primary key of the freshid users.


  • Both these attributes need to be passed in the string format.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article