codeRIT / hackathon-manager

All-in-one platform for hackathon registration & logistics.
https://coderit.org/hackathon-manager/
MIT License
30 stars 24 forks source link

Auth via MLH occasionally fails on first few tries #33

Closed sman591 closed 3 years ago

sman591 commented 7 years ago

From @sman591 on January 7, 2017 5:48

If the time between browser sessions is long enough, the user gets logged out automatically. However, logging in afterwards via MyMLH fails the first try, but clicking sign in the second time works.

Copied from original issue: codeRIT/brickhack.io#436

sman591 commented 6 years ago

I've seen this happen a lot more often over the past month, to the point where I had to just stop and wait a few minutes before trying again.

Log:

app[web.1]: I, INFO -- omniauth: (mlh) Callback phase initiated.
app[web.1]: E, ERROR -- omniauth: (mlh) Authentication failure! csrf_detected: OmniAuth::Strategies::OAuth2::CallbackError, csrf_detected | CSRF detected
cbaudouinjr commented 3 years ago

Unable to reproduce.