I am creating an application with the following blocks:
Android - the client side, Java Servlets - Sever Side, Facebook - is used to authenticate users and work with their data.
My problem is this: I would like to authenticate my users via facebook (for example, a request sent by the android client using facebook-android-sdk to facebook), but then I would like to send requests to my server (which is implemented by servlets) and how- then check that the user sending the request authenticates to facebook and my application.
So these are the steps:
user X authenticates to facebook and my facebook application using facebook-android-sdk. X sends a request to my server
As for the server, I would just like to know that this is the right user who works with me, I do not need a server to execute Graph API requests.
How can I find out that X is valid on my server? In this case, authentication was performed on the client side.
source
share