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

A Start for Integration with OAuth2-Proxy #340

Open
anonhostpi opened this issue Apr 1, 2024 · 0 comments
Open

A Start for Integration with OAuth2-Proxy #340

anonhostpi opened this issue Apr 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@anonhostpi
Copy link

anonhostpi commented Apr 1, 2024

Is your feature request related to a problem? Please describe.
Another popular reverse proxy, that is typically used in tandem with Nginx/Traefik is OAuth2-Proxy. OAuth2-Proxy provides OAuth and OIDC authentication for web services that don't come with it. One thing it lacks is a UI for configuration.

Describe the solution you'd like
I think this is another place where Nginx-UI could shine over NPM.

Since OAuth2-Proxy can also be configured with a config file, I imagine that the same methods for configuring the nginx configs could be used to configure OAuth2's config file:

It is important to note that there isn't a default location for this file, so it may have to be user-specified.

I believe that OAuth2 uses go viper for configuration, but I think it limits the valid formats to mainly toml, but also yaml. Since these are serialization formats, you may be restricted to just providing edit access via the editor, unless you can come up with some GUI method for serialization formats (JSON, TOML, YAML, etc)

Describe alternatives you've considered
Editing the config file with nano over ssh

Additional context
I say that this is a start, because OAuth2-Proxy is also written in Go, so it might be possible for a more direct integration.

@anonhostpi anonhostpi added the enhancement New feature or request label Apr 1, 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