Skip to content

[FEATURE] Faster OAUTH_AUTO_REDIRECT #352

@MitPitt

Description

@MitPitt

Is your feature request related to a problem? Please describe.
When enabling OAUTH_AUTO_REDIRECT=generic, tinyauth automatically redirects login to oauth provider. But there is a flash of default tinyauth login before the redirect actually happens. This results in suboptimal loading time and it doesn't look very pretty.

Describe the solution you'd like
Redirect straight to auth without showing the default tinyauth login html.
I know this is possible because I've been using caddy-security plugin. It also has an automatic oauth redirect option, and it is instant.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpinnedThis issue is pinned

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions