MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

OAuth Callback URI does not return OAuth token

Last post 11-17-2009 1:33 PM by Joel. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 09-21-2009 4:09 AM

    • Shubi
    • Not Ranked
    • Joined on 09-04-2009
    • Posts 2

    OAuth Callback URI does not return OAuth token

    Hi all,

     I am developing a simple opensocial app in MySpace. To eliminate all sorts of issues with OAuth authentication, I have used the OAuth tool within the MySpace Developer community. I am able to generate the request token and I am able to view the user login page in the second step (user authentication). When I enter the credentials and hit enter from the browser, I am taken to the callback url which is a page in my home server but I donot getback the oauth token (which is the authorised request token) which I need to perform the 3rd step(getting the access token). The redirected url reads as below :

    http://testappp1.appspot.com/login.jsp?oauth_problem=oauth_problem%253Dparameter_rejected%

    252C%2520oauth_parameters_rejected%253DExternal%252520Domain%26oauth_problem_advice%253D%255BExternal%2520Domain%255D%2520or%2520%
    255Boauth_callback%255D%2520uri%2520is%2520not%2520set.

    I have already set the callback url when I installed the app. I have seen as a response to an earlier post (oauth callback problem) to install the app from the start to resolve this, as it could be a problem with the external domain parameter being set to some default value. But, that didn't help either.

    I am not using any MySpace sdk.

    Am I missing something in between. Could someone help me out as to what could be the issue?

    With thanks in advance.

  • 09-21-2009 7:59 AM In reply to

    • Chak
    • Top 50 Contributor
    • Joined on 01-14-2008
    • Posts 70
    • MDP Team

    Re: OAuth Callback URI does not return OAuth token

    Hi, In your app's settings (@ developer.myspace.com), can you please make sure: 1. The "External URL" field is set to: http://testappp1.appspot.com 2. The "External Callback Validation" fields are set to: "http", "appspot.com" (field 1 and 2 respectively) Chak
  • 09-22-2009 2:54 AM In reply to

    • Shubi
    • Not Ranked
    • Joined on 09-04-2009
    • Posts 2

    Re: OAuth Callback URI does not return OAuth token

    Hi Chak, Thanks alot for replying. Unfortunately, I cannot see any 'External URL' field or 'External Callback Validation' field in my edit app settings page @developer.myspace.com. Just to let you know, this application is not published with the MySpace app directory and is still in the development stage(has only a very basic functionality implemented). Is it because of that, I am not able to view this setting? Please correct me if I am wrong. Thanks again.
  • 11-04-2009 8:41 PM In reply to

    • jim
    • Not Ranked
    • Joined on 10-23-2009
    • Posts 1

    Re: OAuth Callback URI does not return OAuth token

    Can you please answer this?

    How do we set these when they do not show in the developer's panel?

  • 11-06-2009 10:24 PM In reply to

    Re: OAuth Callback URI does not return OAuth token

    But those setting do exist in the developer account

    http://developer.myspace.com/Apps.mvc

    Edit Details->

    Then there is block for external site settings in which we have to set these two fields .

  • 11-17-2009 1:33 PM In reply to

    • Joel
    • Top 25 Contributor
    • Joined on 11-02-2009
    • Posts 98
    • MDP Team

    Re: OAuth Callback URI does not return OAuth token

    Hello,

    In your MyspaceID app information page:

    MyspaceID app > Edit App Information

    At the bottom you should see the External Site Settings, which is where you set the external callback validation information. Do you not see this?

    The URL looks like this, with your six digit appID replacing X's in the string:

    http://developer.myspace.com/modules/apps/pages/editapp.aspx?appid=XXXXXX

     

    Thanks,

    Joel

     

Page 1 of 1 (6 items)