Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(firebase_auth): added supporting rawNonce for OAuth credential on…
… Windows platform

fix formating
  • Loading branch information
JekaNS committed Jul 26, 2024
commit bc04ec4fe43a2f34814b065d4e886390a4de61a7
Original file line number Diff line number Diff line change
Expand Up @@ -665,10 +665,9 @@ firebase::auth::Credential getCredentialFromArguments(
std::optional<std::string> rawNonce = getStringOpt(kArgumentRawNonce);
// If rawNonce provided use corresponding credential builder
// e.g. AppleID auth through the webView
if(rawNonce) {
if (rawNonce) {
return firebase::auth::OAuthProvider::GetCredential(
providerId.c_str(), idToken.value().c_str(),
rawNonce.value().c_str(),
providerId.c_str(), idToken.value().c_str(), rawNonce.value().c_str(),
accessToken ? accessToken.value().c_str() : nullptr);
} else {
return firebase::auth::OAuthProvider::GetCredential(
Expand Down