OAuth callback url

monkeychumpmonkeychump Registered Users Posts: 11 Big grins
Hi there,

hope this post is in the correct place...

I've just started on an api kit for coldfusion for 1.2.2 and i've run into an issue with the callback url

sometimes its necessary to return extra url params to oauth_token to the callback url, however smugmugs ouath server is just appending ?oauth_token=foo to the callback url rather than checking to see whether it should be a & or a ?

heres an example of the callback i need to use
http://mysite.com/auth_callback.cfm?service=smugmug

but what i'm getting is
http://mysite.com/auth_callback.cfm?service=smugmug?oauth_token=foo

this doesn't comply with the oauth specs
6.2.3. Service Provider Directs the User Back to the Consumer

The callback URL MAY include Consumer provided query parameters. The Service Provider MUST retain them unmodified and append the oauth_token parameter to the existing query.
any chance this could be fixed?

cheers, Chris

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited August 7, 2008
    ah yes, that's a bug.

    Until it's fixed you could get around this by passing &service=smugmug in authorize request.
    David Parry
    SmugMug API Developer
    My Photos
Sign In or Register to comment.