I am trying to implementing the OAuth for Freshdesk Trustpilot Integration. Unfortunately, I am unable to get the access token . But I am able to successfully authenticate with Trustpilot
I got Invalid state message once I have successfully authenticated with Trustpilot. I have added the screenshot below which I have received from Freshdesk
@Saravanakumar_Raju, Seems like Trustpilot is not sending back the state variable along with the Authorization code grant which our platform expects according to RFC 6749.
Could you please let me know what kind of value that state variable contains? Also could you please share some sample values? So that I can ask the same to the Trustpilot team.
A state value will be sent to Trustpilot during the initiation of OAuth by the app. Our platform expects is the same value to be returned along with code. That should help the team to look the requests made by our platform and pick up the state property.