From 1658d8f0e2540cbb8a9474a8dac360793eacfd2c Mon Sep 17 00:00:00 2001 From: CalvinKork Date: Wed, 13 Mar 2024 09:30:54 -0500 Subject: [PATCH] Reverting back to old nonce value style due to breaking with sequence RPCs --- .../Source/SequencePlugin/Private/Authenticator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Plugins/SequencePlugin/Source/SequencePlugin/Private/Authenticator.cpp b/Plugins/SequencePlugin/Source/SequencePlugin/Private/Authenticator.cpp index 7baa0d2f6..73db2eacc 100644 --- a/Plugins/SequencePlugin/Source/SequencePlugin/Private/Authenticator.cpp +++ b/Plugins/SequencePlugin/Source/SequencePlugin/Private/Authenticator.cpp @@ -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: