I want to be able to login to a Flask based server with Facebook authentication from a mobile application.
I understand that in mobile, a user logs into Facebook and is able to retrieve an access token that one can use to authenticate with the server as well.
I have found these two Flask examples:
https://github.com/mitsuhiko/flask-oauth/blob/master/example/facebook.py
https://github.com/litl/rauth/tree/master/examples/facebook
They are able to login into Facebook and retrieve an access token as well. What else do I need to do to be able to send back a status code to the mobile application telling it that it has logged into my own server with Facebook?
Or am I thinking about this backwards somehow?