[Vuejs]-SSO update using VueJS

1👍

Usually, with SSO, there is a refresh token you can use to refresh the authorization token of the user without them knowing. This allows you to extends the user’s session untils de refresh token expires, usually much much after the authorization token. You can look your SSO documents to try and find how to implements it.

In most cases, you would use an interceptor to check, before each request, if the authorization token is still active, and if not, refresh it using the refresh token.

Now, i’m not sure how VueJs works with interceptor but i’m sure it’s possible.

Leave a comment