0

get_request_token with callback url on custom port

Hello,

I'm developping locally using a valid dns (example.dyndns.org) but the problem is that my ISP blocks all inbound traffic on port 80.

When I do a request for /get_request_token using oauth_callback using a custom port (ex: example.dyndns.org:8080), the yahoo service gives me an 401 Unauthorized error.

Is there a way around that?

by
4 Replies
  • Hi,

    You can use the standard port 80 in your OAuth request. Once Yahoo!
    redirects user back to your site, you can manually change the URL
    to add customer port to it and reload the page. In this way, at least
    you can test the end-to-end flow in your development environment.

    Thanks,
    Yu Wang
    Yahoo! Membership Team
    0
  • QUOTE (omiga @ Jul 6 2010, 12:33 PM) <{POST_SNAPBACK}>
    Hi,

    You can use the standard port 80 in your OAuth request. Once Yahoo!
    redirects user back to your site, you can manually change the URL
    to add customer port to it and reload the page. In this way, at least
    you can test the end-to-end flow in your development environment.

    Thanks,
    Yu Wang
    Yahoo! Membership Team


    Hi Omiga,

    Yahoo cannot redirect the user back to my site, because port 80 is blocked by my ISP.

    I do not receive a request because Yahoo is redirecting the user to port 80 which is not available on my internet connection.

    Any idea around that?
    0
  • QUOTE (kimphamg @ Jul 6 2010, 01:20 PM) <{POST_SNAPBACK}>
    Hi Omiga,

    Yahoo cannot redirect the user back to my site, because port 80 is blocked by my ISP.

    I do not receive a request because Yahoo is redirecting the user to port 80 which is not available on my internet connection.

    Any idea around that?


    May be using the callback as oob and manually visiting the site to authorize with the returned request token?

    -balaji
    0
  • QUOTE (Balaji Narayanan @ Jul 6 2010, 07:59 PM) <{POST_SNAPBACK}>
    May be using the callback as oob and manually visiting the site to authorize with the returned request token?

    -balaji


    Hi, i am using OOB for testing right now, but I can't use it during prod.

    Anyway, i guess i'l just push my code on the prod server and hope for the best. Thanks
    0

Recent Posts

in OAuth General Discussion YDN SDKs