Skip to content

SSO fails for some existing users #21

Description

@petrm

Hello,

after upgrading to 2026.5.0 and the matching SSO tag, I am facing issues for (some) existing SSO users.

The error is coming from

sso/challenge.js

Lines 236 to 239 in 7c44ebb

if (userData?.block !== publicKey) {
w.abort();
return void cb('SSO_INVALID_BLOCK');
}

On the client I see 500 for the respective api call in the console, no details.

I worked around the issue by commenting out the block of code in question, it seems to be new in this release.

Additionally, every time a user tries to log in (clicks the login button on the front page), the following error is shown in the browser console:
/api/auth/ 500 (Internal Server Error)
The response content is
{"error":"Execution error","errorCode":"E_REQ_WRITE"}

The UI shows a red "Error" banner. Refreshing the page results in the same error, the user has to refresh the page without cache and is then correctly redirected to the SSO login page.

Not sure if the two issues are related.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions