I'm building a nodejs API with the following requirements: my API will be consumed by Android application which will use facebook SDK to authenticate users with their facebook credentials...then, that authentication info will be sent to my API where my user will be authenticated.
Is there any tutorial/guide how this can be done...not neccessary android and nodejs, but any guide with the setup: mobile app->facebook auth->my API
Related
I'd like to consume a REST service secured with OpenID from a Flutter client targetting Android, iOS and web.
I found flutter_appauth package, but it seems not compatible with web apps.
Is there any Flutter OpenID package working on all platforms?
I'd be happy with a full web solution (something using system browser and deep links).
currently I'm using fb graph api v2.12, which will expired at this month, so I upgrade to v7.0 in fb JS sdk just by changed version parameters, but login function failed. As we have a back-end service but it's not done by me, but sure front-end calls this back-end service, this service seems calls https://graph.facebook.com/v2.12, so I don't know if this back-end service version should align with FB js sdk version number, so all functions works well?
I'm developing an Ionic v2 app with a Meteor backend (Ionic CLI). Basically like: https://www.angular-meteor.com/tutorials/whatsapp2/ionic/setup. Basic username/password authentication works fine with the accounts-base-client-side and accounts-password-client-side packages. However, I'd like to authenticate with Facebook and other social login providers. Here it becomes kind of tricky.
Ionic offers a nice native Facebook authentication through Ionic Cloud services. See: https://ionicthemes.com/tutorials/about/native-facebook-login-with-ionic-framework. But how would this integrate with the Meteor Account authentication?
For my cordova application i am running a Azure .net backend.
To access it from the client i use the mobile service client plugin for cordova.
Now to my problem:
I want to allow a facebook login which is already supported by the mobile service client. Therefore i registered a FB-application as described in the azure tutorial
Everything works well when i access the published backend. However if i am running it locally, the facebook login fails without any helpful error message.
It must be a problem with the facebook app settings.
For the case where i am running on localhost, i created a second testapplication with the following settings:
For the valid oAuth redirect URIs i have tried different things.
Does anyone have an idea how i could solve this?fa
Google Provisioning APIs use Google data protocol which requires admin userid and password. I looking for something like Google drive APIs so that I can use authority delegated service account to fetch entreprise info also. Idea is to avoid asking Admin credentials.
The Provisioning APIs support OAuth just fine. However, you should probably use the brand new Admin SDK Directory API which also supports the newer Google API similar to Drive SDK.