omniauth-oauth2
omniauth-oauth2 copied to clipboard
handling invalid_grant errors
Is there a way to handle an invalid_grant error, specifically an invalid_code error?
There are some cases where this happens due to bad user behavior (i.e. reloading the redirect URL with the code), and I'd like to handle it gracefully.