-
Notifications
You must be signed in to change notification settings - Fork 76
Lock.show callback not firing after first login. #92
Comments
I am also having this issue:
@hzalaz I can send you a copy of my (small) project if that'll help. |
Was there ever a solution to this? After doing some digging around in the comments of this post it seems like v10 needs to use a watcher like |
We could not reproduce it without redux and all the other deps, might be an issue when integrating them alongside with lock but had little time to set all those dependencies. |
Since upgrading to newer versions of RN this issue no longer occurred. So I'll close. |
That's too bad, as I'm still having this issue. |
Could you share some info on your dependencies and some code? |
Sure
I haven't set anything up in terms of assigning the token to AsyncStorage, but those console.logs still aren't firing off. |
@gp3gp3gp3 have you had any luck getting this to work? If I pass the option |
I'm also now having this issue |
Same here. react-native 0.42 |
@WebsByTodd No I gave up using Auth0 entirely and built out the authentication myself. |
I ran into problem after problem using Auth0 for my native projects. It's unfortunate because it works great for the web and handles a lot of complicated security and logic. It looks like building authentication from scratch or relying on OAuth libraries for specific providers is still the way to go for native auth. |
+1 |
+1 |
+1 Has anyone had any luck with this issue? I'm using the following up to date libraries and still experiencing this bug. "react": "~15.4.1", |
After the first login attempt callback does not get fired. The second time works fine. It's a similar problem as in #32. Inserted the optional methods in AppDelegate (https://auth0.com/docs/quickstart/native/react-native-ios#optional-twitter-facebook-native-login) although Auth0 user-pass is used.
Versions:
NPM @3.10.5
React-Native @0.33
React @ 15.3.1
react-native-lock @0.4.0
iOS 9.3
Pod file:
pod 'Lock', '~> 1.26'
pod 'Lock/TouchID'
pod 'Lock/SMS'
pod 'Lock/Email'
The text was updated successfully, but these errors were encountered: