Skip to main content

build_auth_url

Function build_auth_url 

Source
pub fn build_auth_url(
    cfg: &ServiceOAuthConfig,
    client_id: &str,
    redirect_uri: &str,
    scopes: &[String],
    state: &str,
    code_challenge: &str,
) -> String
Expand description

The authorization URL for a code flow: the standard parameters, PKCE (S256) and state, then the provider’s extra_auth_params.