Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

New answers tagged

0 votes

Can I obtain refresh token with user-agent-flow?

Ok I did it using web-server flow with login.salesforce.com as host instead of my organization URL. With User-agent flow I could obtain the token but using this redirect_url: https://login.salesforce....
user avatar
1 vote
Accepted

OAuth 2.0 Web Server Flow and CORS problem

You're using the wrong flow. You should be using the User-Agent flow, in which you redirect to a login URL, and when the process completes, you'll be returned to the URL you specified as the callback ...
user avatar
  • 430k
0 votes
Accepted

Consuming salesforce Rest API with out security token

Yes, by using one of the other OAuth 2.0 flows that Salesforce supports. It sounds like you're using the Username-Password flow (which is mostly only suitable for testing/prototyping). If you are ...
user avatar
  • 47k

Top 50 recent answers are included