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.