I am trying to integrate the iOS SDK into our app. However, I cannot for the life of me figure out how to login a user properly. There is a method called:
- (BOOL)loginWithEmail:(nonnull NSString*)email password:(nonnull NSString*)password remeberMe:(BOOL)remeberMe;
But that fully excludes users who login with Google or Facebook and do not have a password. In addition, for security reasons I would rather not interact manually with a user’s credentials. There is also a method:
- (BOOL)loginWithSSOToken:(nonnull NSString*)token remeberMe:(BOOL)remeberMe;
I figured this method would be able to use an OAUTH token or something like that, but it appears to be a business or education plan exclusive, and passing the OAUTH refresh or access token to it results in an invalid token error.
OAUTH or similar really seems like the only solution but I’m not seeing anyway to do this.
Smartphone (please complete the following information):
- Device: iPhone X
- OS: iOS 12.1.4
- Version: (16D57)