Skip to content

feat: oidc auto redirect on login page - #649

Merged
Smaug6739 merged 1 commit into
Smaug6739:mainfrom
albi19:main
Aug 1, 2026
Merged

feat: oidc auto redirect on login page#649
Smaug6739 merged 1 commit into
Smaug6739:mainfrom
albi19:main

Conversation

@albi19

@albi19 albi19 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Fixes #626

I added two env variables:
CONFIG_HIDE_NATIVE_LOGIN: Hides native username/password login if set to true (useful if you only want OAuth providers)
CONFIG_OIDC_PROVIDER_AUTO_REDIRECT: Name of OIDC provider to redirect to when landing on login page (can be omitted)

I feel like CONFIG_HIDE_NATIVE_LOGIN might be a bit redundant with CONFIG_DISABLE_NATIVE_LOGIN but at the end they serve slightly different purposes. I think they might joined in CONFIG_DISABLE_NATIVE_LOGIN unless someone has a use case for an only disabled form.

I hope I used Nuxt config/env the correct way and also hope I updated all the docs.

Let me know if any changes are needed :)

@Smaug6739 Smaug6739 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, thanks !

@albi19

albi19 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

Thanks! I noticed the problems with linter, sorry for not catching it earlier, I can fix it later today if you want

@Smaug6739
Smaug6739 merged commit 681b01d into Smaug6739:main Aug 1, 2026
3 of 4 checks passed
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.

Feature request: Auto-redirect to OIDC provider

2 participants