Hi, I'm new :) I have a problem with auth redirection. Simple test (linux):
wget --server-response "http://api.themoviedb.org/3/authentication/token/new?api_key=[MY_API_KEY]"
I have the "Authentication-Callback" URL. I open it in the browser adding "redirect_to" parameter:
http://www.themoviedb.org/authenticate/[TOKEN_REQUEST]&redirect_to=MY_URL
Another test:
http://www.themoviedb.org/authenticate/[TOKEN_REQUEST]&redirect_to=http://www.google.com
But I get a 404 Page not found error ("Doesn't look like the page you're looking for can be found.") The same with other URLs (just for testing), the same if I use PHP urlencode()
What's wrong? Thank you in advance.
찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.
이 항목을 평가하거나 목록에 추가할까요?
회원이 아닌가요?
Mat님의 댓글
1월 8, 2013 at 9:23 오전
Solved.
Just for reference, the callback must be in this form:
http://www.themoviedb.org/authenticate/[TOKEN_REQUEST]?redirect_to=http://www.google.com