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
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de superboy97
pe data de 6 martie 2024 la ora 11:47 AM
The complete process is described here.
Răspuns de lLump
pe data de 6 martie 2024 la ora 5:36 PM
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ăspuns de superboy97
pe data de 6 martie 2024 la ora 5:38 PM
Despite what is written, this is the first step.
Răspuns de lLump
pe data de 6 martie 2024 la ora 5:39 PM
Oh.. i get it. Thank you
Răspuns de lLump
pe data de 6 martie 2024 la ora 5:42 PM
Wait i don't. It require request_token to get same request_token. What's the point?
Răspuns de Travis Bell
pe data de 7 martie 2024 la ora 10:29 AM
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.