I having trouble to create the Refresh Token.
I want to give it to a third party, So it can use it to get an access token and send us data using an exposing web service that I created.
I tried to do the following steps :
I created a Connected App.
I gave the right OAuth Scopes.
Defined a Callback URL.
Open a web browser with the follwoing URL :
- Got the mismatch Error :
The Url that gave the mismatch is :
Inside my connected App - the Callback URL is exactly the same as the requested URI + I waited 24 hours and not just 10 min for the connected App to be available.
I also tried to add the scope param as :
scope=refresh_token , but it give me the same error.
I also tried to do it from my domain since it enabled - but same response. The prevent "test.salesforce" is not checked anyway.
What am I doing wrong?