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

ui: option to skip login page #1834

Open
krancour opened this issue Apr 12, 2024 · 0 comments
Open

ui: option to skip login page #1834

krancour opened this issue Apr 12, 2024 · 0 comments

Comments

@krancour
Copy link
Member

krancour commented Apr 12, 2024

This is related to #1728

When a user runs kargo server, they should be able to use the UI served from there without further authn. (The API server will already be running using the user's own kubeconfig.)

Currently, if a server is configured with neither the admin account enabled nor OIDC enabled, the login page says logins are disabled and you should contact the system administrator.

The UI determines whether admin account, ODIC, both, or neither are supported by making a call to the public config endpoint. This is an endpoint that requires no authn and basically advertises the API server's capabilities.

I'd love if the results from that endpoint returned a new option that says no authn is desired. We'd only set this when a launching a server locally from the CLI.

If the UI could respect that new option, causing the login screen to be completely bypassed, that would be awesome.

@rpelczar @rbreeze lmk what you guys think about this.

Edit: When running in this manner, the UI's API client would also not need to pass credentials of any kind to the local API server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant