Reputation: 1008
I have a hybrid(Ionic) mobile app is registered as an OAuth2 client with ADFS3.0. Now, i am doing Authorization Code Grant Method of OAuth2 as it is the only method supported by ADFS3.0. I am successfully getting the access token, and staying in the session. But, after 1 hour, when the access token expires, and ADFS asks me to enter my credentials again. How to make this a persistent SSO.
I am using Cordova Inappbrowser to call the ADFS Url.
Upvotes: 1
Views: 428
Reputation: 46720
When you got the original tokens, you should have received a refresh token as well.
Then use something like:
POST xxx/token
Upvotes: 1