Hello Everyone, I'm developing a desktop application using Reacts, Nodejs and Express. Facing tough time to implement authentication. Could any one help with steps. Thanks for your time. I have followed all the steps mentioned in api docs still I'm not getting hit to redirect url.
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ ديسمبر 5, 2016 في 7:26 مساءا
Hi @anandrikka Which issue are you running into problems with specifically? Is it just with the redirect step? Ie. in step 2, when you send the user to the website and ask for permission, you're setting the
redirect_to
parameter?رد بواسطة Anand Rikka
بتاريخ ديسمبر 6, 2016 في 12:06 مساءا
Hello Travis,
Here are the steps I followed
Here is the sample code
If logged in, I need to redirect to "/api/callback" call to proceed further. Please let me know if I missed anything.
Thanks for your time
رد بواسطة Travis Bell
بتاريخ ديسمبر 6, 2016 في 2:09 مساءا
One thing I'm just curious about is that you have a space after your = AND http. Does this help?
رد بواسطة Anand Rikka
بتاريخ ديسمبر 6, 2016 في 11:27 مساءا
I did observed and removed the space and tried it just didn't work.
However in the below scenario it's hitting the callback mentioned in redirect url
"User should be already logged into the tmdb application. When redirected from my app it just asks for permission to grant access, when user approved it's hitting callback mentioned in redirect url."
Failure scenario: "when user redirected from my application and then logged into tmdb and gave permission to my app, then it's not redirecting to url."
I guess I have expressed it correctly, let me know if more details needed.
رد بواسطة Anand Rikka
بتاريخ ديسمبر 10, 2016 في 1:37 صباحا
Need some help from anyone to close the issue.
رد بواسطة Travis Bell
بتاريخ ديسمبر 10, 2016 في 10:58 صباحا
The redirection URL might not be getting saved properly when the user is logged out. I'll investigate this Monday morning when I get back to work and let you know when it has been fixed.
رد بواسطة Anand Rikka
بتاريخ ديسمبر 10, 2016 في 11:04 صباحا
Thanks Travis. Will be waiting for your reply !!
رد بواسطة Travis Bell
بتاريخ ديسمبر 12, 2016 في 12:28 مساءا
Can you give this a try now and let me know if it's working properly for you now?
رد بواسطة Anand Rikka
بتاريخ ديسمبر 13, 2016 في 12:00 مساءا
Excellent Travis, It's working !! Tested a straight use case it's getting redirected to callback url. There are few more doubts may be I will open up separate discussion.
Thanks once again, for your time and patience !!
رد بواسطة Travis Bell
بتاريخ ديسمبر 13, 2016 في 12:50 مساءا
Happy to hear it's working.
Cheers.