File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/firebase_auth/firebase_auth/windows Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -638,11 +638,8 @@ firebase::auth::Credential getCredentialFromArguments(
638
638
if (signInMethod == kSignInMethodOAuth ) {
639
639
std::string providerId =
640
640
std::get<std::string>(arguments[kArgumentProviderId ]);
641
- // As of my knowledge cutoff in September 2021, Firebase C++ SDK doesn't
642
- // support creating OAuthProvider credentials directly
643
- std::cout << " Creating OAuthProvider credentials directly is not supported "
644
- " in Firebase C++ SDK as of September 2021.\n " ;
645
- return firebase::auth::Credential ();
641
+ return firebase::auth::OAuthProvider::GetCredential (
642
+ providerId.c_str (), idToken.c_str (), accessToken.c_str ());
646
643
}
647
644
648
645
// If no known auth method matched
You can’t perform that action at this time.
0 commit comments