function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Christopher JeffreyChristopher Jeffrey 

No_Oauth_State when trying to get authorization code

Hi!
I have a problem, I'm triying to get authorization code to acces data of an Azure aplication.  I use my Outlook credentials to login but I always receive this message 

Error message

I send the state in the state parameter in the url, but I don't know why this error is showing.

I appreciate your help.
 
Thanks!
SwethaSwetha (Salesforce Developers) 
HI Christopher,

As per the auth provider flow the NO_Auth_State error will occur if the call back URL state variable doesn't match with salesforce state propagate value.

You need to ask the external auth provider to capture the logs for the failure transaction for clarification.
 
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful.
 
Thank you