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
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by superboy97
on March 6, 2024 at 11:47 AM
The complete process is described here.
Reply by lLump
on March 6, 2024 at 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
Reply by superboy97
on March 6, 2024 at 5:38 PM
Despite what is written, this is the first step.
Reply by lLump
on March 6, 2024 at 5:39 PM
Oh.. i get it. Thank you
Reply by lLump
on March 6, 2024 at 5:42 PM
Wait i don't. It require request_token to get same request_token. What's the point?
Reply by Travis Bell
on March 7, 2024 at 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.