Skip to content

SSO only - #1058

Merged
k1o0 merged 7 commits into
devfrom
sso_only
Sep 30, 2026
Merged

k1o0 merged 7 commits into
devfrom
sso_only

Conversation

@k1o0

@k1o0 k1o0 commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

SSO-only signups for a non-public database were already fully supported: here I just added tests, ensured staff status was True by default, and made the signup redirect depend on whether email preferences are configured (for a lab database they probably wouldn't be).

As a bonus I added support for generic OIDC logins, which have extra settings (namely a provider id). This allows for practically any SSO*. I changed the documented example to Shibboleth.

*The settings differ further for pure SAML (organization_slug instead of provider_id), which I didn't bother to add support for.

Previously an SSO signup would redirect to /me/preferences, which would lead to a 404 on non-public databases.
Now it only redirects if email preferences are set (unlikely for institutional SSO)
@k1o0
k1o0 requested a review from oliche September 23, 2026 22:11
@k1o0
k1o0 merged commit 3f9df8c into dev Sep 30, 2026
2 checks passed
@k1o0
k1o0 deleted the sso_only branch September 30, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants