-
Notifications
You must be signed in to change notification settings - Fork 39
Auth0 Integration with native facebook app #1
Comments
Maybe, you can check if the seed project from here works for you as bad or not as well. We'll test it out in our end as well. Thanks again! |
Hi @mgonto - thanks for checking out the project!
The issue doesn't occur when I use it from an app within the webview thankfully, it actually only happens when I access http://flix.brentvatne.ca through Chrome manually on my Nexus 5, and then try to log in with Facebook and choose the Facebook app to handle the click, rather than Chrome. I'm not sure if this was an intended use case for Auth0 - if not, and it's not feasible to fix, I will just remove Facebook login from the web version.
Will do, thanks! |
Seed project won't work either then from the Web.
That's what I thought. The inner WebView version works because of Cordova's Let me dig some information to see if somebody has fixed this problem or how we can fix it. I'll get back to you. Thanks! |
@mgonto - yup, I tried it on the seed app and had the same issue, I went ahead and recorded a video of it so I might as well post it here in case anyone else would find it useful, even though you've already reproduced it 👍 Screen recording of the issue: Thanks for looking into this! <3 |
Thanks @brentvatne :). I'll get back to you tomorrow with more info and tell you if we can fix it or not. BTW, do you have any feedback on Auth0's impl for Ionic? Something you hated, something you liked, something you'd change? All feedback is welcomed :) |
@mgonto - I like Auth0 a lot, happy to provide some feedback!
👍 for auth0 |
Hey @brentvatne, Very good feedback! Thanks! Let me answer them:
I agree completely with this. I've created an issue to track this auth0/auth0-cordova#1
This is indeed possible. Maybe as you're saying it's not clear how you can customize the JWT, I'll write a doc about that in the after login section. However, the basic idea is the following. When calling
I understand this point, but I don't think we'll be doing this for now. It's a massive amount of work to do that for every platform and with the seed sample and guided docs with your keys I think it's easy enough. Did you have any particular part that was more difficult?
This is something we've been asked regularly. Pricing is always a tough one and we're working on improving it to work for both individual people, startups and enterprise apps. We're actually in the process of updating all of our plans and pricing model and website. You can get a sneakpeak of what's coming here. Do you think that's better? Do you have any feedback based on that? |
We've looked into the issue. It seems that newer version of Chromes shows the IntentChooser when trying to open a popup for a URL Scheme that's registered by an app installed in your phone (Facebook for example registers Facebook Authentication URL) :D. The solution for now would then be to use Redirect (not popup) when showing the app in Android on Chrome and not using Cordova. Otherwise, use popup mode. We're looking into ways of fixing this for the future, but it won't happen before 2015 hahaha. You can follow the progress by watching this issue. Also, in that issue, you'll have the pseudo code of a proposed solution. This bug is because of a Winchan problem when it's openning the Popup. You can see a bug filled on Mozilla's project as well: mozilla/winchan#6 Let me know if that works out for you. Sorry for the too long comments :D |
Yup, thanks for that!
This seems like something that the community could take care of. I agree it's easy enough, and I did not think any particular part was difficult. If I find the time maybe I'll throw together an auth0-rails gem that depends on jwt and packages
That looks great, although I'd personally like to see an option between 1,000 and 5,000 users on the scale - I think there would be a desire for a bit more granularity at a user base of that size.
Sounds good to me, gracias! |
Hey @brentvatne if you're up to doing the package, that'd be great :). We're always open to that :). Thanks for the feedback :) |
Hey,
I didn't know where to comment this, so I just created an issue :). I'm a Developer Advocate at Auth0. I saw this sample, it's incredible :). I really like the idea of having a list of movies to watch and Tinder effect is just so much fun!
I also saw the problem you're getting when using the native Facebook app for logging the user in. The problem is that it uses an Android Intent to send the request to Facebook and gets the response back in another Intent as well, which Auth0-angular isn't expecting. Therefore, it doesn't work well since auth0-angular is expecting a Popup URL change on the launched browser. I think this might be related to not having the
InAppBrowser
plugin correctly installed. If it's installed correctly, all links should be open in an inner browser instead of asking you which app to use. Can you please check that? If that's not it, then we can try to debug it and fix it in our end.Thanks!
The text was updated successfully, but these errors were encountered: