omniauth / omniauth-oauth2

An abstract OAuth2 strategy for OmniAuth.
MIT License
500 stars 304 forks source link

Well, seems it's working now after I upgrade to the latest version. The state parameter can be parsed as I expect. #151

Open Drblack101 opened 2 years ago

Drblack101 commented 2 years ago

Well, seems it's working now after I upgrade to the latest version. The state parameter can be parsed as I expect. All I need is just get the identical state parameter value from Microsoft Azure as I send a request from my app

@BobbyMcWho If like you said it's generated by the strategy, can you tell me how to parse a state parameter as I wish to Microsoft Azure ([https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow])

Originally posted by @Drblack101 in https://github.com/omniauth/omniauth-oauth2/issues/150#issuecomment-1129081954

BobbyMcWho commented 2 years ago

Why do you need to manually get the state? The strategy handles state verification

Drblack101 commented 2 years ago

I want to use the state parameter to parse client information since I have multiple clients who will call the same callback URL.