ternandsparrow / wild-orchid-watch-pwa

Progressive Web App for the Wild Orchid Watch citizen science project
https://app.wildorchidwatch.org
4 stars 4 forks source link

Deal with failed OAuth nicely #18

Open tomsaleeba opened 4 years ago

tomsaleeba commented 4 years ago

We had a user in prod, running Samsung Internet 12, get the following error on the OAuth callback:

error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.

I managed to reproduce the same error message by selecting Deny on the iNat OAuth permission screen that you see on the first time you use the WOW app.

If a user triggers this, we should show an informative page that tells them what happened and how to undo the Deny action.