Select SSO by default #175

Closed
opened 2026-10-05 01:45:54 +02:00 by adam · 1 comment
Owner

I would like to use SSO all the time. Email auth should only be my fallback. But I can't configure the SSO to be shown first, it always defaults to email:

Image

Could you add a "default auth method" setting?

I would like to use SSO all the time. Email auth should only be my fallback. But I can't configure the SSO to be shown first, it always defaults to email: <img width="535" height="561" alt="Image" src="https://github.com/user-attachments/assets/b51a195e-d65e-47e9-8604-a484bce11872" /> Could you add a "default auth method" setting? <!-- github-sync-id:5494312956 -->
adam closed this issue 2026-10-05 01:45:54 +02:00
Author
Owner

Added in #441, released in v3.37.0. Two things decide the tab now: AUTH_DEFAULT_METHOD=sso sets the default for the instance (documented in the environment variables page), and each browser remembers the method it last signed in with, so after one SSO login it opens on SSO from then on. Email stays available as the second tab.

Added in #441, released in v3.37.0. Two things decide the tab now: `AUTH_DEFAULT_METHOD=sso` sets the default for the instance (documented in the environment variables page), and each browser remembers the method it last signed in with, so after one SSO login it opens on SSO from then on. Email stays available as the second tab. <!-- github-comment-id:5781090537 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#175