getInitialUrlQueryParameters method
Gets the URL Parameters that will be used for the login page.
Implementation
Future<Map<String, dynamic>> getInitialUrlQueryParameters() async {
var data = {
"client_id": clientId,
"response_type": authCodeKey,
"redirect_uri": _redirectUrl
};
if (useNonce) {
data['nonce'] = nonce = generateNonce(nonceLength);
}
if ((scope?.length ?? 0) > 0) {
data["scope"] = scope!.join(" ");
}
return data;
}