How to do facebook login with GAE Python endpoints - google-app-engine

I am new to GAE Python, I want to give user option to login with facebook. I am already being able to add SignIn with Google. How I can implement facebook login ?

My answer to this question points to a Google auth solutions choosing guide: What is the difference between Google identity toolkit, Google OAauth and Google+ sign in

I think that simpleauth for appengine can be what you need. I use it myself and it works.

To enable Facebook signin, please refer to Configure Identity Toolkit and search for "Configure Facebook login".

Related

Google App Engine user authentication

How can I make people signup using email(not gmail) and login with their emails?
Snapchat, Khan academy and songpop all use google app engine but not gmail as login.
I use google app engine sdk for python. What should I do and where can I find info?
Google provides a built-in User Service for convenience only. You can use any form of authentication on App Engine: your own, Facebook, Twitter, etc.
If you are new to authentication, the best option is to use a package that does all the work for you, like Django Social Auth or Python Social Auth.

How to create just an authentication with facebook sdk in iOS?

In my iOS app I just want to create a login button and when this button is pressed, the user must login using his own facebook account.
I don't want to use other facebook features after this, only authenticate the user's account information.
Thanks!
Check out this guide. It goes through a step-by-step tutorial of how to install the Facebook SDK for iOS and how to use it to log in.

How to add Facebook/Twitter/LinkedIn login to Google App Engine project?

I've searched for solutions, but everything I can find seems mostly outdated.
We're using the Python API for GAE and creating login urls in the following manner:
users.create_login_url(continue_url, "Yahoo", "http://yahoo.com/"),
Which works fine for sites such as Google, Yahoo, Aol, Blogger, Flickr, etc... but we're aware that Facebook and Twitter don't work in this manner.
Can anyone show any examples of how to authenticate users on App Engine using Facebook, Twitter, and LinkedIn?
Thanks!
First, one has to register their application on Facebook and get an Application ID. Details:
Register here Facebook authentication overview
Then, I used the facebook python SDK, along with the facebook javascript api (which is the canonical way to do authentication with facebook). Here's a working example of authenticaion I used.
Direct link to the Facebook python SDK
Direct link to the Facebook Javascript SDK
If the service you want to sign in with doesn't support OpenID, you need to do it the same way you would on any other service: Set up your own sessions library, handle logins in a site-specific manner, and keep track of signed in user sessions using the session library.

federated login Vs. oauth on google app engine

i would like to provide a third party user authentication on my app engine app.
the federated login option on appengine is not exactly what I'm looking for and i can't see endpoints
what i want is authenticating users via openid like its done here on stackoverflow.
the first time a user has to authorize the app and the subsequent times it will only need to be logged in or log in again on the third party app and then redirected to my app.
my app is written in python and im using tornado web as a framework. i've seen that tornado has its own auth module i want to check out but i wanted to ask for suggestions before jumping into code.
basically i would like users to be able to log in via facebook, twitter and google.
the facebook authentication seems not to be that hard on graph.facebook.com but its not easy to test
authenticating via twitter looks more difficult to me and i can't find any clear examples.
i would love to hear your experiences/suggestions about it.
What you describe is exactly how federated login with OpenId works on App Engine. Whether or not users get prompted for authorization after the first login is up to the OpenId provider, not the consumer.
Facebook login doesn't use OpenID, and you'd need to implement that yourself, in conjunction with a sessions library to keep track of logged in Facebook users.

How do I change authorization of a site on my Google Appspot OpenID?

When I tried to log in to Stack Overflow, I initially used my Google OpenID (which looks like this "http://openid-provider.appspot.com/login") but I accidentally clicked on deny. Now I can't log in with this OpenID at all. Is there any way I can change the authorizations on an account in the future?
Thanks!
openid-provider.appspot.com is only intended as a demo app! Don't rely on it as a real openid account. As the page itself says:
Note: this is just an App Engine demo,
not the Google OpenID Provider
endpoint for the Google Federated Login API.
Don't use openid-provider.appspot.com. Use https://www.google.com/accounts/o8/id, which is Google's official OpenID provider.

Resources