Skip to content

[FEATURE] Unauthorized (403) branded page #626

@jsaltzman

Description

@jsaltzman

Is your feature request related to a problem? Please describe.
I love the Tinyauth login page. It is very attractive. But when I limit access to a container to specific OIDC group, the default 403 page (from nginx) is ugly.

Describe the solution you'd like
I'd like a branded 403 page from Tinyauth. Tinyauth could either direct to the page itself, or I can update my nginx conf to point to it.

Describe alternatives you've considered
On the discord, someone posted about this problem and there was a recommendation to redirect users to http://tinyauth.example.com/unauthorized?username=notfound. This is a nice hack, but instead of referencing a nonexistent user I wish there was a similar page that just says you are not authorized to access this site.

Additional context
N/A

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions