omniauth-oauth2 icon indicating copy to clipboard operation
omniauth-oauth2 copied to clipboard

handling invalid_grant errors

Open rgarcia opened this issue 9 years ago • 0 comments

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.

rgarcia avatar Dec 03 '15 18:12 rgarcia