cianfrocco-lab / COSMIC-CryoEM-Gateway

Web platform for analyzing cryo-EM data on Comet cluster at San Diego Supercomputer Center
http://cosmic-cryoem.org
GNU General Public License v3.0
9 stars 1 forks source link

if logged in to app.globus.org then login fails with mismatched oauth state #246

Closed kenneth59715 closed 4 years ago

kenneth59715 commented 4 years ago

I had an open browser window to https://app.globus.org. I tried to go to the staging home page, but got an error page. The log indicated mismatched oauth state:

Jun 01 2020 08:40:24 [xec-21] DEBUG - AuthCallbackAction:70 | MONA: entered AuthCallbackAction.globuslogin() Jun 01 2020 08:40:24 [xec-21] DEBUG - AuthCallbackAction:97 | MONA: endpoint_activation_uri = https://app.globus.org/file-manager?origin_id=:endpoint_id Jun 01 2020 08:40:24 [xec-21] DEBUG - NgbwSupport:1044 | Mismatching Oauth States: org.apache.oltu.oauth2.common.exception.OAuthSystemException: Mismatching Oauth States org.apache.oltu.oauth2.common.exception.OAuthSystemException: Mismatching Oauth States at edu.sdsc.globusauth.action.AuthCallbackAction.globuslogin(AuthCallbackAction.java:394)

Logging out of app.globus.org allowed me to log in to staging.

monaw commented 4 years ago

I ran into this also, in reverse...app.globus.org gave me the error. I think ours and Globus session info is somehow clashing in the browser; needs further investigation

kenneth59715 commented 4 years ago

Was able to click Home, the Login and that second time through worked, even through I left myself logged in to app.globus.org.