getSigninUrl method
Implementation
Uri getSigninUrl({String scope = "read", String? state}) {
return Uri.https(config.endpoint, "login/oauth/authorize", {
"client_id": config.clientId,
"response_type": "code",
"scope": scope,
"state": state ?? config.appName,
"code_challenge_method": "S256",
"code_challenge": generateCodeChallenge(codeVerifier),
"redirect_uri": config.redirectUri
});
}