Skip to content

Add an option to customise SSO buttons for self-hosted OAuth apps #1629

@MakaryGo

Description

@MakaryGo

Is your feature request related to a problem? Please describe.
I am implementing a Mbin instaqnce. Because I want to offer other services within the same portal, I would like all things related to user flows to be handled by my own SSO.
I did install and set up Authentik, set the registration/login to be SSO only, all is well.
The thing is, on the auth page there is only button saying 'Continue with Authentik'.
My end users don't know, and don't need to know what Authentik is.
Ideally, as it is planned to be the only authentication, I would like to have something like
#1584 , but as a start, I would like to be able to give my users a more understandable button text.

Describe the solution you'd like
Since as of now all the settings related to the SSO providers are in the .env variables, I think the best way to handle this would be adding a variable, maybe OAUTH_AUTHENTIK_BUTTON= or OAUTH_AUTHENTIK_NAME=, and use this variable as the button text.
It would be ideal to also allow a custom icon, if we use some or other icon set like FA, making a variable like OAUTH_AUTHENTIK_ICON= to pass the icon name would be optimal.

Describe alternatives you've considered
I can just hardcode it in my fork, but I think the above is a better solution for all.

Additional context
While buttons using a specific service as the SSO provider (GitHub, etc.) are fine as is, for the self hosted services like Authentik or Zitadel I believe that assuming the end user who wants to sign up knows the name of the software I use as SSO solution is unreasonable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions