login-kit-sample icon indicating copy to clipboard operation
login-kit-sample copied to clipboard

Firebase authentication

Open adamdahan opened this issue 3 years ago • 0 comments

Hi,

I am trying to integrate https://docs.snap.com/snap-kit/login-kit/Tutorials/firebase/ios#authenticate-with-firebase in my app but the framework SCSDKLoginKit and the SCSDKLoginKitClient does not actually have the functions you describe in your integration instructions.

This function is not present in SCSDKLoginKitClient.h.

[SCSDKLoginClient startFirebaseAuthFromViewController:viewController
                                              completion:^(NSString * customToken, NSError * error) {
...
  }];

I see in the Changelog that version 1.13.0 added support for Firebase auth:

Version 1.13.0
September 15, 2021
Added the ability to authenticate with Firebase, utilizing Snapchat as the identity provider.

But seems these functions aren't even public. I am stuck. Please help!

adamdahan avatar May 16 '22 21:05 adamdahan