[GH-ISSUE #99] Automatically redirect unauthenticated users to OIDC login #52

Closed
opened 2026-05-07 00:18:25 +02:00 by BreizhHardware · 2 comments

Originally created by @dregini on GitHub (Oct 28, 2025).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/99

Originally assigned to: @glenndehaan on GitHub.

The feature

Hi,

It would be very helpful if, when OIDC authentication is enabled and internal authentication is disabled, any user who lands on the website and is not already logged in is automatically redirected to the OIDC login page — instead of being shown the single "OpenId Connect" button and having to click it to start the authentication flow.

This would make access much easier, especially for less tech-savvy users. In my setup, I am configuring this for a household where I want everyone to have a seamless experience using a single login for all services.

Thank you!!

Originally created by @dregini on GitHub (Oct 28, 2025). Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/99 Originally assigned to: @glenndehaan on GitHub. ### The feature Hi, It would be very helpful if, when OIDC authentication is enabled and internal authentication is disabled, any user who lands on the website and is not already logged in is automatically redirected to the OIDC login page — instead of being shown the single "OpenId Connect" button and having to click it to start the authentication flow. This would make access much easier, especially for less tech-savvy users. In my setup, I am configuring this for a household where I want everyone to have a seamless experience using a single login for all services. Thank you!!
BreizhHardware 2026-05-07 00:18:25 +02:00
Author
Owner

@glenndehaan commented on GitHub (Oct 29, 2025):

Hi @dregini,

I will add this to the list for the next release.

Kind regards,
Glenn de Haan

<!-- gh-comment-id:3460422872 --> @glenndehaan commented on GitHub (Oct 29, 2025): Hi @dregini, I will add this to the list for the next release. Kind regards, Glenn de Haan
Author
Owner

@glenndehaan commented on GitHub (Oct 31, 2025):

Hi @dregini,

I have just released version 8.3.0.
This implements the new AUTH_OIDC_REDIRECT_LOGIN environment variable. When set to true it will force the login page to go straight to the OIDC auth flow.

Kind regards,
Glenn de Haan

<!-- gh-comment-id:3471654776 --> @glenndehaan commented on GitHub (Oct 31, 2025): Hi @dregini, I have just released version 8.3.0. This implements the new `AUTH_OIDC_REDIRECT_LOGIN` environment variable. When set to `true` it will force the login page to go straight to the OIDC auth flow. Kind regards, Glenn de Haan
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/unifi-voucher-site#52
No description provided.