MESH-Research / Pilcrow

A web application for Collaborative Community Review
https://pilcrow.meshresearch.dev/
GNU Lesser General Public License v3.0
4 stars 3 forks source link

ORCID OAuth Initial Hang Up #2114

Open gmeben opened 4 months ago

gmeben commented 4 months ago

Describe the bug When attempting to authenticate on Pilcrow with ORCID as a new Pilcrow user, the mechanism that handles authentication hangs up and the user is not redirected to the Dashboard.

To Reproduce

  1. Register or authenticate an account on ORCID
  2. In your ORCID account's settings, temporarily set your email's visibility to "Everyone"
  3. Visit an instance of Pilcrow
  4. Click the Login button in the upper right
  5. Click the button labeled "Log in with ORCID"
  6. Accept the permission request from ORCID
  7. Notice that the page redirect on Pilcrow hangs up
  8. Open the browser's developer tools and open the Network tab
  9. Note that requests to the GraphQL endpoint perpetually return unsuccessful user responses

Expected behavior Redirections of new authenticated ORCID users should not hang up.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop