Skip to content

Crash after setting up SSO #122

@CrazyWolf13

Description

@CrazyWolf13

Hi @arunavo4

I set up SSO via authentik today.

After doing so and saving it all seemed fine, but after clicking logout, it showed an message at the bottom right that there is a JSON error but not the actual error, then it was like the gitea-mirror UI, but not with any data, and I didn't get redirected to loginpage.

After that the application responded with Code 500 Internal Server Error and this log:

Oct 22 08:06:14 gitea-mirror bun[13473]: [Scheduler] Processing 1 valid configurations (out of 1 with scheduling enabled)
Oct 22 08:06:14 gitea-mirror bun[13473]: [Scheduler] Skipping user cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy - next run at 2025-10-23T05:55:14.645Z

EDIT: I could not find any other relevant error in the log, accoring to the log everything should work fine.

I couldn't even get to a login page and a state where I could sign in with authentik, so this problem is purely on gitea-mirror side.

Also I saw you are using IDs for user, is it possible to map an existing user to an OIDC user?

can I just change the user ID via the DB, or do you plan on adding this feature?

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions