-
-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get the response that I need but its considered as authentication Failure #159
Comments
I don't have time to look into this fully at the moment, but you should make sure not to post secrets publicly |
what is your guess about this then? if I want to debug it where I should start ? |
What version of omniauth-oauth2 and regular oauth2 gem are you using |
here are my omniauth and oauth2 gemfile lock
I use it with devise (4.8.1) is it related with the auth token response that I get from the server? because the response is wrapped in |
I think its because oauth2 I open this issue here https://github.com/oauth-xx/oauth2/issues/627 |
It looks like the issue was caused by the oauth keys being nested inside a |
This could probably be solved with a custom strategy in the short term, we could add a feature like that in omniauth, but I'm currently out of town with little time, so it wouldn't be a priority anytime soon @pboling |
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
Content-Type and Accept application/json
here are my heroku logs
right after this line
Authentication failure! invalid_credentials: OAuth2::Error
is all the data that I need to get user infoin insomnia/postman the response are like this, is this because the response wrapped in data?
so I use this PR branch #147 then I got this full messages
The text was updated successfully, but these errors were encountered: