https://developer.themoviedb.org/reference/authentication-create-session-from-login
The request described above returns request_token instead of session_id unlike the same request but without login and password which returns the expected session_id. What is its meaning? Either I am completely confused
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 superboy97
le 6 mars 2024 à 11h47
The complete process is described here.
Réponse de lLump
le 6 mars 2024 à 17h36
I saw that. But on the link i've sent wrote "This would replace step 3 from the How do I generate a session id? guide." And on link you have sent describes that step 3 returns session_id. So please look again on the Response here
Réponse de superboy97
le 6 mars 2024 à 17h38
Despite what is written, this is the first step.
Réponse de lLump
le 6 mars 2024 à 17h39
Oh.. i get it. Thank you
Réponse de lLump
le 6 mars 2024 à 17h42
Wait i don't. It require request_token to get same request_token. What's the point?
Réponse de Travis Bell
le 7 mars 2024 à 10h29
The API key and API request token that get issued together when you register an API key are application based authentication keys. That is outlined here.
When you go through the flow of creating a session, or a request token that is authorized by a user, this is user based authentication and the docs for that are here.
The difference is that one is scoped without any user privileges, while the other is scoped with user privileges.