Server error by using oauth-state for OAuth authorize


(APIR Dativery) #1

Hi, we have problem with OAuth2 specifically with oauth-state https://auth0.com/docs/protocols/oauth2/oauth-state

If we call https://signin.infusionsoft.com/app/oauth/authorize with state object and press allow.
Then we get server error (500) from https://accounts.infusionsoft.com/app/oauth/processAuthorization

Unfortunately we need this information for next redirection in our app :confused:
Can you fix/add support for this feature?

request:
https://accounts.infusionsoft.com/app/oauth/authorize?client_id=vjbhmeuhseu672n739e9hymm&redirect_uri=https%3A%2F%2Fapp.dativery.com%2Fchannel-granted%2F&scope=full&response_type=code&state={"type"%3A"oauth2"%2C"operation"%3A"callback"%2C"channel_id"%3A"4fe6549e-e0ab-421f-a773-e4a8bb65bd46"%2C"organisation_id"%3A"c6aef405-4ffd-48e7-bb87-6ac055b6e613"}&approval_prompt=force&access_type=offline


(Bradley Booth) #2

I have duplicated the issue and we are receiving an error from our OAuth provider Mashery. I will dig into today to see what the issue and get back to you.


(Bradley Booth) #4

@APIR_Dativery Super sorry for not getting back to you one this. This has been fixed. Let me know if it is not working for you.


(APIR Dativery) #5

Thank you now it is working.


(The LowestRates.ca Team) #6

please help we are getting the same issue.

{“error”:“server_error”,“error_uri”:“https://developer.infusionsoft.com/docs/read/Getting_Started_With_OAuth2",“error_description”:"An error occurred”}

@bradb please help.


(Bradley Booth) #7

What is the url you are using?