To validate a token I can use the url https://www.themoviedb.org/authenticate/{REQUEST_TOKEN}?redirect_to=http://www.yourapp.com/approved. What do I put instead of "yourapp"?
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Nikolas Mavropoylos
le 24 mai 2017 à 07h26
If the authentication is complete, and redirect_to is defined, the Service will redirect the user to your webpage, or to your back endpoint, so you can continue with your workflow, with the authenticated request token.
Réponse de karlghosn1
le 24 mai 2017 à 07h29
So I need to use deep linking in my app right?
Réponse de Nikolas Mavropoylos
le 24 mai 2017 à 07h33
I'm not sure about the /authenticate endpoint, but for the /auth/access endpoint of the api the redirect_to, is optional. But in case you want to be sure that your user has approved your request, you have to keep track of it with your own endpoint, I guess the service is sending back the request token that got approved, so you will know for which user your link has been triggered. If not, you can add on your url a parameter, with information on it, so you will know for which user has been triggered,