I am a beginner in Angular JS and Salesforce.
I am building a hybrid application.
I am using the USER AGENT authentication flow
I used the following url :
I got the result as expected with the access token but did not get the refresh token.
Then i found this
The refresh token is only returned if the redirect URI is https://login.salesforce.com/services/oauth2/success or used with a custom protocol that is not HTTPS.
So I changed the redirect_uri in my url as :
I got the refresh token.
But then the page is stuck up at the below link
How do i make it redirect back to my app link
Thanks in advance.