This project has moved and is read-only. For the latest updates, please go here.

Force login to flickr when authorizing apps

Feb 21, 2011 at 11:40 AM


I have a web application where we setup flickr accounts and periodically publish photos to flickr. In my web application the user can get setup multiple flickr apps tied to different accounts each with an auth token stored against. The problem I have is that when setting up these accounts, setting the first account is fine, but the authorize call leaves the user logged in. Then when they set up the second account they are actually authorizing the app for the second account but against the still logged in first account. You can discern what is happening if you read the flickr authorize page and take in what it tells you, but it can seem a little confusing and result in incorrectly granting access. I read on a forum somewhere that you can use an undocumented url - /services/auth/fresh to force a login every time. Is it possible if can be made to support this?





Feb 21, 2011 at 12:36 PM

If you change the authentication URL to be something like instead of just it should do what you want.

Note the 'fresh' appended to the url path.