I have a user that’s getting stuck in a redirect loop when trying to log in via OAuth2 to my GitHub App, Restyled.io.
You can see a video here:
When they first get to the Authorization screen, you can already see it’s weird because it says it’s modifying permissions and there’s an HTML list (or table) that should have content in it but it’s empty (you can tell by the double-border, which is likely unintentional).
Then it just goes back and forth between (I assume) callback and authorize with a new state token. Sometimes this stops back on the Authorize screen, other times it stops back on my site with an “Invalid State Token” error.
This is the only user I have who’s having this issue. Other users on the site work fine and other sites that use the same OAuth2 library work fine…
Anyone known what I could look at to investigate/resolve this?