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
Nemůžete nalézt film nebo seriál? Přihlaste se pro jeho vytvoření.
Want to rate or add this item to a list?
Not a member?
Odpověď od superboy97
06.03.2024 v 11:47 DOP.
The complete process is described here.
Odpověď od lLump
06.03.2024 v 5:36 ODP.
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
Odpověď od superboy97
06.03.2024 v 5:38 ODP.
Despite what is written, this is the first step.
Odpověď od lLump
06.03.2024 v 5:39 ODP.
Oh.. i get it. Thank you
Odpověď od lLump
06.03.2024 v 5:42 ODP.
Wait i don't. It require request_token to get same request_token. What's the point?
Odpověď od Travis Bell
07.03.2024 v 10:29 DOP.
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.