Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for auth with OIDC (Authelia) #274

Open
PylotLight opened this issue May 27, 2024 · 0 comments
Open

Add support for auth with OIDC (Authelia) #274

PylotLight opened this issue May 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@PylotLight
Copy link

Is your feature request related to a problem? Please describe.
In order to access self-hosted AI behind a personal server hosted externally, instead of having to patch holes in fw rule lists, it would be better to consume OIDC auth via cli to allow secure external connections to privately hosted endpoints.

Describe the solution you'd like

  • Set ___domain endpoint for AI in mods.yml config
  • When requests are made, if unauthed and hit auth redirect request and store auth token to consume for future calls

Describe alternatives you've considered
E.g Consume/integrate this tool: https://github.com/authelia/ac

Additional context
You can achieve auth via OpenID Connect 1.0, just have to setup a client which accepts a localhost redirect, then listen for the response on a short-lived http server. An unpolished but working example exists here: https://github.com/authelia/ac

@PylotLight PylotLight added the enhancement New feature or request label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant