createAuthorizeUrl method
Generates an Authorization URL
This should be displayed to the user.
Implementation
String createAuthorizeUrl(String codeChallenge) {
return '$baseUrl/authorize${buildQueryString({'client_id': clientId, 'scope': scopes.join(','), 'redirect_uri': redirectUri, 'state': state, 'code_challenge': codeChallenge, 'code_challenge_method': 'S256'})}';
}