418sec / huntr

Public Roadmap | huntr.dev
https://huntr.dev
264 stars 89 forks source link

On sign-up after using a magic-link, the OAuth callback fails and shows as a blank screen #2042

Closed adam-nygate closed 3 years ago

adam-nygate commented 3 years ago

Reported by @timz99.

After a maintainer uses the magic-link to access/act upon a report, if they try to sign-up, the callback page is black and this error is returned:

Failed to load resource: the server responded with a status of 400 () from https://auth.huntr.dev/oauth2/token

It's likely that this is caused because of store conflict as the auth strategy does not know how to process a login if a user is already populated (magic-link user)