Open Vigneshb14 opened 1 year ago
possible solution is to add this monkey-patch to your initializers
the rejected PR https://github.com/nhosoya/omniauth-apple/pull/107 offered a solution. As that was rejected I'm waiting/expecting @nov to suggest a solution that will work with a decent session configuration (as in not using SameSite: :none
) and nonce working at the same time. I wouldn't hold my breath on that.
Hi,
I tried to set up the apple login and signup using omni-auth apple gem in my application.
# config/initializers/omniauth.rb:
I want to get the id_token from the response because I need the user email every time while hitting this URL
Error returns:
Authentication failure! invalid_credentials: OmniAuth::Strategies::OAuth2::CallbackError, id_token_claims_invalid | nonce invalid
Please help me to sort out this error.