Skip to content

feat: enforce OIDC login restrictions#558

Open
toyorg wants to merge 2 commits into
tale:mainfrom
toyorg:main
Open

feat: enforce OIDC login restrictions#558
toyorg wants to merge 2 commits into
tale:mainfrom
toyorg:main

Conversation

@toyorg
Copy link
Copy Markdown

@toyorg toyorg commented May 14, 2026

Add handling for allowed_domains and allowed_users in the OIDC callback, redirecting with error_restricted_access if access is denied.
Include a corresponding error message on the login page.
Also fix a test that accessed user without a null check.

Add handling for `allowed_domains` and `allowed_users` in the OIDC
callback, redirecting with `error_restricted_access` if access is
denied.
Include a corresponding error message on the login page. Also fix a test
that accessed `user` without a null check.
@toyorg toyorg requested a review from tale as a code owner May 14, 2026 12:52
@github-actions github-actions Bot added the Authentication Authentication & Permissions label May 14, 2026
@toyorg toyorg changed the title feat: enforce OIDC login restrictions from Headscale config feat: enforce OIDC login restrictions May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Authentication Authentication & Permissions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant