Skip to content

Add option for custom logout url when using reverse proxy authentication #8077

@uglik-barnabas

Description

@uglik-barnabas

Describe the feature

I'm using tinyauth for authentication to gogs and it has a custom subdomain & url for logging out an user: tinyauth.url.com/logout, it would be nice if I could set the url in the config.

Describe the solution you'd like

Setting the url in the config would overwrite the logout button's behavior to redirect to that url.

Describe alternatives you've considered

I've tried using the templates, but everytime I set LOAD_ASSETS_FROM_DISK the site refuses to load (I tried it with the arch aur package and docker aswell)

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    🎯 featureCategorizes as related to a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions