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"?
Не можете да откриете филм или сериал? Влезте, за да го създадете.
Искате ли да го оцените или добавите към списък?
Нямате профил?
Отговор от Nikolas Mavropoylos
на 24 май 2017 в 7:26 AM
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.
Отговор от karlghosn1
на 24 май 2017 в 7:29 AM
So I need to use deep linking in my app right?
Отговор от Nikolas Mavropoylos
на 24 май 2017 в 7:33 AM
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,