I guess, you are using the oauth2 implicit flow, to get the token. in this 
case, the oauth2 specs don't allow for publishing a refresh token. But when 
you keep logged in at the Auth-Server by the means of a cookie (not sure, 
if salesfores supports this), it's easy to get a new token without 
user-interaction. You can even hide the neccessary redirects when you use a 
hidden iframe (a common workaround). My implementation at [1] shows how to 
do this.

Wishes,
Manfred


[1] https://github.com/manfredsteyer/angular-oidc-lib

Am Freitag, 8. Januar 2016 08:37:46 UTC+1 schrieb Seema Sharma:
>
> Hi ,
>
> I want to get refresh token using access token as i am not getting refresh 
> token in salesforce connnect Oauth response.Please let me know solution.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to