You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems that this gem results in a OmniAuth::Strategies::OAuth2::CallbackError being raised when the user cancels the Sign in with Apple flow, after supplying their credentials, when presented with the Cancel / Continue buttons.
For those looking for quick-and-dirty handling of this error:
Rails.application.config.to_preparedoOmniAuth::Strategies::Apple.class_evaldo# Patched to handle user cancel eventdefcallback_callifrequest.params["error"] == "user_cancelled_authorize"returnredirectwhatever_urlendsuperendendend
Seems that this gem results in a
OmniAuth::Strategies::OAuth2::CallbackError
being raised when the user cancels the Sign in with Apple flow, after supplying their credentials, when presented with the Cancel / Continue buttons.Here appears to be some relevant code in
omniauth-oauth2
: https://github.com/omniauth/omniauth-oauth2/blob/master/lib/omniauth/strategies/oauth2.rb#L66-L83Wondering if this is something this gem should explicitly try to suppress.
The text was updated successfully, but these errors were encountered: