createAuthRequest method
void
createAuthRequest()
Implementation
void createAuthRequest() {
clientId = Authing.sAppId;
nonce = Util.getRandomString(10);
redirectUrl =
"https://console.authing.cn/console/get-started/" + Authing.sAppId;
responseType = "code";
scope =
"openid profile email phone username address offline_access role extended_fields";
state = Util.getRandomString(10);
authingLang = Util.getLangHeader();
codeVerifier = Util.getRandomString(43);
codeChallenge = Util.generateCodeChallenge(codeVerifier);
}