OAuth callback url
monkeychump
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
cheers, Chris
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
any chance this could be fixed?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.
cheers, Chris
0
Comments
Until it's fixed you could get around this by passing &service=smugmug in authorize request.
SmugMug API Developer
My Photos