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
Не можете да откриете филм или сериал? Влезте, за да го създадете.
Искате ли да го оцените или добавите към списък?
Нямате профил?
Отговор от superboy97
на 6 март 2024 в 11:47 AM
The complete process is described here.
Отговор от lLump
на 6 март 2024 в 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
Отговор от superboy97
на 6 март 2024 в 5:38 PM
Despite what is written, this is the first step.
Отговор от lLump
на 6 март 2024 в 5:39 PM
Oh.. i get it. Thank you
Отговор от lLump
на 6 март 2024 в 5:42 PM
Wait i don't. It require request_token to get same request_token. What's the point?
Отговор от Travis Bell
на 7 март 2024 в 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.