Implementing Auth0 with Ionic Vue Mobile App - ionic-framework

Has anyone tried implementing Auth0 with Ionic Vue Mobile App, tried searching for documentation but no luck on that or is it possible to implement Auth0 using pure Javascript in Vue mobile App, what packages we can use for that ?

Related

How to integrate NativeScript Angular android mobile application with Okta Auth flow ith PKCE

I have a NativeScript Angular android app, which i need to integrate with Okta. I was able to successfully integrate my Angular web application with Okta but (As i am not mobile app developer) finding it hard to wrap my mind on how to integrate it with mobile app.
I tried to go through the documentation available at Okta official site(https://developer.okta.com/docs/concepts/auth-overview/#choosing-an-oauth-2-0-flow) it feels like the recommendation is to implement Authorization Code with PKCE for which I would need below:
1.An embedded browser in the mobile app to show Okta login page.
2.Some sort of local server which can receive callback from Okta with auth code and integration of the auth code received in callback with application api service.
Do you think it is right line of thinking?
If yes, how shall i get a web server in mobile app and what would be its address(Would it be localhost?) to receive callback from Okta?
Is there any JavaScript library which can be easily integrated with NativeScript code to do it?
I came across https://github.com/openid/AppAuth-JS but not sure how can i integrate it.
Thanks
You can use the Okta widget and the openAuth method of InAppBrowser plugin to be able to authenticate the users and later redirect to the app again by using deep linking, you can see the example folder of that plugin: https://github.com/proyecto26/nativescript-inappbrowser#usage
We're using this plugin from React Native too and we can get the token from okta after redirect the users through deep linking, it works very well. It's required to deploy the Okta widget in an external domain and register the deep links of your apps (Android/iOS) from Okta, e.g:
${scheme}://${host}/callback (Android)
${scheme}://callback (iOS)

facebook integration in ionic 2 platform

I am newbie in developing the hybrid app (ionic 2). I was looking for some sort of help in integrating facebook login in my ionic2 app .But couldn't find any relevant help.
Any sort of help will be useful.
Thanks
You can follow this tutorial in order to implement facebook login in ionic 2. It doesn't really matter which platform you are going to use for backend.
https://ionicthemes.com/tutorials/about/ionic2-facebook-login

What is the best solution for facebook login in cordova / web / hybrid apps?

I would like to have a facebook authorization and facebook shares in my cordova app. So I need a plugin / solution for this case.
I found cordova-plugin-facebook4 but it didn't have updates for a long time and doesn't work properly with last Cordova/Facebook SDK.
I also have tried to use OpenFB but it has two main problems: it also has some troubles and works via JS SDK which mean my app asks a user for a password while login even if there is a facebook app on the smartphone.
I use poor JS and Jquery (not ionic, not Angular, etc).
I want to use it for Android and iOS both.
I want to have a native login window (not the web based).
Could you recommend something for me and community?
Have you tried this one? Looks like the best:
https://github.com/Wizcorp/phonegap-facebook-plugin
Also for sharing, I use this, and works like a charm:
https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin

How can I implement facebook and google+ login using ionic framework for hybrid mobile development?

I am working on ionic framework. I have to implement login sign-up feature with Facebook and google+ in my hybrid mobile app. How can add this login & sign-up feature? Does it allows me to login via fb or google+ inside a hybrid mobile app?
I recently had to build an app implementing Facebook's OAuth, it's pretty straightforward if you're willing to use ngCordova
Add in the ngcordova library to your ionic project.
bower install ngCordova
Include ngCordova to your index.html file before cordova.js
Make sure you inject ngCordova to your angular module (usually in app.js)
angular.module('app', ['ngCordova'])
To use multiple OAuth providers supported by ngCordova, you need to get cordova's inappbrowser plugin, add that into the mix
cordova plugin add https://github.com/apache/cordova-plugin-inappbrowser
To use it in controllers check out http://ngcordova.com/docs/plugins/oauth/
Note: The installation documented in ngCordova's oauth plugin page usually doesn't works, and when using the app in an emulator or a device it returns "Could not find InAppBrowser plugin" for every provider.
The workaround is pretty simple indeed, open up ng-cordova.js residing in your www/lib/ngCordova/dist directory and with a quick find and replace
Find:
cordovaMetadata.hasOwnProperty("org.apache.cordova.inappbrowser") === true
Replace With:
cordovaMetadata.hasOwnProperty("cordova-plugin-inappbrowser") === true || cordovaMetadata.hasOwnProperty("org.apache.cordova.inappbrowser") === true`
That should give you a headstart with the development process, the more you know!

Integrate twitter and facebook with phonegap using only javascript

Is there possibility to integrate twitter and facebook with phonegap using only javascript? The reason behind to use javascript is application can run on different platforms i-e it can run on ios,blackberry,symbian,android and webos.
need an idea ....
thanks in advance
I think you need to use this social sharing cordova plugin.
https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin