goauthentik / authentik

The authentication glue you need.
https://goauthentik.io
Other
13.57k stars 907 forks source link

✨ Generic user based application config #10646

Open OCram85 opened 3 months ago

OCram85 commented 3 months ago

Is your feature request related to a problem? Please describe.

For now there is no easy generic way to solve the following use case:

✨ Publish and secure multiple instances of the same application type with a single proxy provider (forward auth) and bind it to a single user.

Example:

Describe the solution you'd like

It would be awesome to have a way generic way solve the described use case with an minimal amount of repetitive config required.

Without such feature you now have to repeat these steps for each application instance like code-server:

Describe alternatives you've considered Using the above described workaround

Additional context

image

BeryJu commented 1 month ago

With pure OAuth something like this could be done (have a regex in the redirect URI and modify the outgoing URL in the authorization flow), but not for the proxy provider.

OCram85 commented 1 month ago

🤔 Is it possible to provide an example in the docs? - I guess I didn't get it fully how to solve this with a oauth / single app forward authentication provider