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

OpenID Connect client auth flow #191

Open
rvolosatovs opened this issue Jun 17, 2022 · 1 comment
Open

OpenID Connect client auth flow #191

rvolosatovs opened this issue Jun 17, 2022 · 1 comment

Comments

@rvolosatovs
Copy link
Member

rvolosatovs commented Jun 17, 2022

The client crate should provide functionality to simplify the login flow where possible.

CLI should contain the minimum complexity required and handle all interactive functionality, as well as printing to stdout/stderr.

Essentially, we should make it simple to acquire a token for the CLI by using just the functionality in this crate. How exactly to do that is up to the implementor to decide.

See example at https://docs.rs/openidconnect/2.3.1/openidconnect/index.html#getting-started-authorization-code-grant-w-pkce.
Note, that the implementation should https://docs.rs/openidconnect/2.3.1/openidconnect/struct.ProviderMetadata.html#method.discover on the issuer URL

@rvolosatovs
Copy link
Member Author

Refs #194

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

No branches or pull requests

1 participant