omniauth-oauth2
omniauth-oauth2 copied to clipboard
An abstract OAuth2 strategy for OmniAuth.
Since Omniauth is working at Rack level when tokens are submitted via JSON, data is not present in params. Rails on the other hand unites JSON data and HTTP params...
here are my code is it because the server returning a JSON? because the token request is just work ok when I manually request it with CURL or postman/insomnia with...
I am currently using this gem in a couple of Rails projects without issue connecting to an IdentityServer with openid/oauth. I was previously using a fairly basic handwritten Oauth handler...
As in the subject line & perhaps a little easier to manage than https://github.com/omniauth/omniauth-oauth2/pull/142.
We started getting reports from users that they cannot login with Google (it also happens with login with Facebook). On Firefox or Chrome it works fine, but does not work...
@agrobbin @sferik Could you review this, if you still have an interest in the issue? #70 was merged without a spec, so I added specs to make my intention clear....
I think this is a better fix for #28, and saves many OAuth2 strategies broken by #70.
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...
The explanation of this change is in the commit message. The one question I have is whether my guess at the reason for always generating a new `state` value is...
In case an error is raised within the OAuth2 request() it would make sense to forward the error kind. At least the `invalid_credentials` currently returned doesn't capture all errors which...