I'm following the instructions on http://developer.netflix.com/docs/Security for making protected calls. Section "Ask the Subscriber to Sign In" mentions that I should specify a callback when sending the request to https://api-user.netflix.com/oauth/login. Netflix will then send a request to the callback and specify the authorized oauth_token, like this:
My problem is that I'm writing a desktop application, i.e. I can't specify a callback URI because there is no HTTP listener/server. How can I get the authorized "oauth_token" without specifying a callback?
Hi,
I'm following the instructions on http://developer.netflix.com/docs/Security for making protected calls. Section "Ask the Subscriber to Sign In" mentions that I should specify a callback when sending the request to https://api-user.netflix.com/oauth/login. Netflix will then send a request to the callback and specify the authorized oauth_token, like this:
http://yourserver.com/yourpage?oauth_token=yourAuthorizedToken
My problem is that I'm writing a desktop application, i.e. I can't specify a callback URI because there is no HTTP listener/server. How can I get the authorized "oauth_token" without specifying a callback?
Thanks,
Alexander
Message edited by acorr191 2 years ago
Doron Rosenberg – 2 years ago
You could have a server the application can call or you could embed a browser in your app and listen for URL changes.