Open
Description
https://github.com/intridea/omniauth-oauth2/blob/master/lib/omniauth/strategies/oauth2.rb#L71
I think request.params['error_description'] || request.params['error_reason']
should be the other way around (error_reason is more likely to contain a canonical symbol). Or possibly store both on CallbackError.
As with Facebook there is no way of using CallbackError in order to check if the user canceled the auth ("user_canceled" is stored in error_reason while error_description is something generic like "Permission Error".
Metadata
Metadata
Assignees
Labels
No labels