Skip to content

Conversation

@gary149
Copy link
Collaborator

@gary149 gary149 commented Dec 9, 2025

…TIC_LOGIN is enabled

Previously, with AUTOMATIC_LOGIN=true, all routes except /login and /healthcheck would redirect to OAuth. This prevented unauthenticated access to the /models page and API endpoints like /api/models.

This aligns the AUTOMATIC_LOGIN behavior with the regular login flow, which already excludes /models and /api routes from the OAuth redirect.

Also fixes the /models/ pattern to /models (without trailing slash) so that the /models page itself is matched, not just /models/* subpages.

…TIC_LOGIN is enabled

Previously, with AUTOMATIC_LOGIN=true, all routes except /login and
/healthcheck would redirect to OAuth. This prevented unauthenticated
access to the /models page and API endpoints like /api/models.

This aligns the AUTOMATIC_LOGIN behavior with the regular login flow,
which already excludes /models and /api routes from the OAuth redirect.

Also fixes the /models/ pattern to /models (without trailing slash) so
that the /models page itself is matched, not just /models/* subpages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants