Im trying to implement auth0 in my app for login but the documentation says that i need access to the AppDelegate.m file, using CRNA i cant access it without detaching…
Any ideas how i could go about doing this?
I need to add the following:
#import <React/RCTLinkingManager.h>
(BOOL)application:(UIApplication *)application openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
{
return [RCTLinkingManager application:application openURL:url
sourceApplication:sourceApplication annotation:annotation];
}
Thanks in advance!
bacon
April 18, 2018, 10:27pm
2
There is an example on github showing how to configure Auth0
https://github.com/expo/auth0-example
It’s important to note 2 things:
You will need to follow the web setup instructions
Auth0 sucks and loses user info - will suck to change at scale. I would recommend using anything else.
EDIT: I meant OAuth. OAuth != Auth0
Thanks for your reply bacon! I decided to use my own API so wont be going near auth0. Yours is the first negative thing i have read about it though.
bacon
April 19, 2018, 5:37pm
4
Good to hear, I was thinking of OAuth… dyslexia + stupidity = yours truly <3
system
Closed
May 9, 2018, 5:37pm
5
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.