-
Notifications
You must be signed in to change notification settings - Fork 414
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
[Question] send id_token from google js api credential to callback #450
Comments
There is a JS example at: https://github.com/zquestz/omniauth-google-oauth2/blob/master/examples/config.ru I believe you will want to pass |
Hi @zquestz Thanks, this example just works with the code response from the google but not with the newer credential
error is :
setting the header for axios |
if i am right the new credentials should be confirmend with
described in this blog post https://patrickkarsh.medium.com/how-to-add-google-one-touch-authentication-to-a-ruby-on-rails-application-6ac8776c4190 |
There is no working example right now. Would definitely be open to a PR to update the docs and client side JS implementation. |
Please forgive me if I'm getting this wrong, but are you seriously asking the person who can't get it to work to update the docs on how to get it working? |
No, just saying the docs could use a new example and letting people who read this thread know it would be nice to get it updated. |
Hi,
tested some options with the newer google api from https://developers.google.com/identity/gsi/web/reference/js-reference?hl=en
the response is jwtToken
credential
How i understand the omniauth-google-oauth2 i need to POST the id_token= the JWToken ?
and set the server option provider_ignores_state: true ( found in the README )
but i get
any idea?
The text was updated successfully, but these errors were encountered: