8

We're trying to override the auto-authenticate behavior when kicking off a web server flow in the REST API. Basically, we need to let a user authenticate and capture OAuth tokens to several Salesforce orgs in one session.

The problem is, once they authenticate to one org, the next time we redirect them to authenticate to another, they are re-authenticated automatically to the original org. We need to bring them to the login page each time in order to allow them to authenticate to multiple orgs.

In reading the docs, there doesn't seem to be a url param that will do it. I was hopeful that the immediate flag would accomplish this but it doesn't.

Is there a way to force a login during each flow?

  • Check out the Summer '14 release notes for 'Specify an Authorization Endpoint as a Request Parameter' – greenstork Jun 30 '14 at 21:38
10

Use prompt=login - see the Digging Deeper article.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.