OAuth Authorization Callback
PhoShizzle
Registered Users Posts: 3 Beginner grinner
Hi,
*First Post!*
Does the OAuth Authorization Callback work? Whenever I click the authorize button the next page does not provide a link to the callback URL or perform a redirect to the callback URL. The oauth_callback parameter is present in the URL (and is visible in the browser address bar).
Thanks
*First Post!*
Does the OAuth Authorization Callback work? Whenever I click the authorize button the next page does not provide a link to the callback URL or perform a redirect to the callback URL. The oauth_callback parameter is present in the URL (and is visible in the browser address bar).
Thanks
0
Comments
Welcome
We don't support the oauth_callback in the Authorization step, as we believe that arbitrarily assigning that at runtime is a security flaw. In the event that a consumer's token and secret is compromised such functionality actually aides someone in masquerading as the consumer without anyone's knowledge. Since it's in our best interest to protect our customers, we chose not to implement it.
However, we do support setting a static oauth_callback against a consumer's token...go to the Settings tab of the control panel, and click the 'Change' link next to the details for your api key and you will be able to enter one.
Hope this helps.
Cheers,
David
SmugMug API Developer
My Photos
Did I miss this in the documentation somewhere?
I think how you have implemented it is better than passing at runtime.
Thanks David
I've got two API keys. In my control panel, I can go into the first (older) key and set the app url and oauth callback url, click save and the "box" closes and "Changing API key" display and goes away.
I try the same with the new API key (just requested and received tonight), click Change the "box" opens, enter the app url and oauth key and click Save. The "box" does not close, but the "Changing API key" display and goes away but the box remains open and the information is not saved...
what browser are you using ?
SmugMug API Developer
My Photos
I've tried Firefox 3.5.7, Chrome 4.0.249.78 (36714) and IE8 on Vista and Safari 4 on OS X Snow Leopard.
Same results on all four.
yeah, found this issue...it's fixed internally.
SmugMug API Developer
My Photos
Thanks!
Will the fix roll out to the live site some time this week?
Hey Bill,
Sorry I didn't follow up....it's fixed but you will need to get a new api key.
Cheers,
David
SmugMug API Developer
My Photos
It should appear as 'Closed' in your control panel now.
Cheers,
David
SmugMug API Developer
My Photos
Thanks!
Please put this in the docs! Spent a while tracking this down...
Maybe as an asterisk to section ii.4 of the authentication flow at: http://wiki.smugmug.net/display/API/OAuth
Thanks,
Matt
done, thanks
SmugMug API Developer
My Photos