Skip to content

Commit

Permalink
Reverting back to old nonce value style due to breaking with sequence…
Browse files Browse the repository at this point in the history
… RPCs
  • Loading branch information
CalvinKork committed Mar 13, 2024
1 parent 4226f9a commit 1658d8f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ void UAuthenticator::EmailLogin(const FString& EmailIn)

FString UAuthenticator::GenerateSigninURL(const ESocialSigninType& Type, const FString& AuthURL, const FString& ClientID) const
{
FString SigninUrl = AuthURL +"?response_type=code+id_token&client_id="+ ClientID +"&redirect_uri="+ FAuthenticatorConfig::RedirectURL + "&nonce" + this->Nonce + "&scope=openid+email&state=" + FAuthenticatorConfig::UrlScheme + "---" + this->StateToken + UEnum::GetValueAsString(Type);
FString SigninUrl = AuthURL + "?response_type=id_token&client_id="+ ClientID +"&redirect_uri="+ FAuthenticatorConfig::RedirectURL +"&scope=openid+profile+email&state="+ this->StateToken +"&nonce="+ this->Nonce;
//FString SigninUrl = AuthURL +"?response_type=code+id_token&client_id="+ ClientID +"&redirect_uri="+ FAuthenticatorConfig::RedirectURL + "&nonce" + this->Nonce + "&scope=openid+email&state=" + FAuthenticatorConfig::UrlScheme + "---" + this->StateToken + UEnum::GetValueAsString(Type);
switch (Type)
{
case ESocialSigninType::Google:
Expand Down

0 comments on commit 1658d8f

Please sign in to comment.