Skip to main content

oidc_login

Function oidc_login 

Source
pub async fn oidc_login(
    configuration: &Configuration,
    redirect_uri: &str,
    auth_code_response: AuthCodeResponse,
) -> Result<UserSession, Error<OidcLoginError>>
Expand description

ยงErrors This call fails if the [AuthCodeResponse] is invalid, if a previous oidcLogin call with the same state was already successfully or unsuccessfully resolved, if the Open Id Connect configuration is invalid, or if the Id Provider is unreachable.