Check android user sign in on Symfony backend


#1

Hello,
I have implemented successfully a twitter sign in button in my app which works fine.
What I want now is to check this user against my server (written using Symfony 3) and create its account/retrieve information.
I don’t want that information retrieval to be impersonated so I need the server to check the user against the REST API (I guess) to ensure the request is legit.
How can I implement that?

Note: if my request is not clear, this is exactly what I want but for Twitter OAuth and not Google: https://developers.google.com/identity/sign-in/android/backend-auth

Thanks!