Skip to main content

get_auth_url

Function get_auth_url 

Source
pub fn get_auth_url(challenge: &PkceChallenge, callback_port: u16) -> String
Expand description

Generate the OAuth authorization URL.

§Arguments

  • challenge - PKCE challenge containing the code_challenge
  • callback_port - Port for the localhost callback server

§Returns

The full authorization URL to redirect the user to.