openidconnect-rs
openidconnect-rs copied to clipboard
OpenID Connect Library for Rust
I stumbled across this crate while reading the README of `oauth2-rs`: > For authentication (e.g., single sign-on or social login) purposes, consider using the [openidconnect](https://github.com/ramosbugs/openidconnect-rs) crate, which is built on...
#179 handles the case for an Entra application that allows signins from a single tenant. For Entra applications that allow signins from personal and enterprise accounts, the `https://login.microsoftonline.com/common/v2.0` issuer is...
Allows to use the Client with an optional IntrospectionURL.
Sorry if I missed something - I did try to dig around, but I don't think there are any specific examples or other issues/discussions related to this. I'm trying to...
Implementing an OIDC flow right now. Is there a better way to set response mode than: ``` let (authorize_url, csrf_state, nonce) = self .client .authorize_url( AuthenticationFlow::::AuthorizationCode, CsrfToken::new_random, Nonce::new_random, ) .add_extra_param("response_mode",...
Allows for easier deserialization of configuration. Fixes: #202 Related: https://github.com/ramosbugs/oauth2-rs/pull/312
Hello and thank you for this great library ! I am implementing a web server and was wondering whether `Nonce::new_random` was not misleading, especially since it is used without warning...
## Feature Request Implement [`std::str::FromStr`](https://doc.rust-lang.org/std/str/trait.FromStr.html) or `From` for commonly used configuration types: - `IssuerUrl` - `ClientId` - `ClientSecret` - `RedirectUrl` (maybe more?) ## Use Case/Context This would make it much...
Thanks for this awesome lib, I wish I had found it earlier, been doing some of these integrations manually.. I'm testing an integration with Azure and I need to access...
As the title says, I can't use this library with GitHub OIDC tokens because GitHub's discovery metadata lacks `authorization_endpoint`. Could it be made optional? https://token.actions.githubusercontent.com/.well-known/openid-configuration