-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It would be great if one could get a refresh token together with the initial access token in the login response payload - an enhancement to #80.
Example:
{
"token": "eyJ************KJU",
"refreshToken": "ed******************WjT",
"type": "bearer"
}
The refreshToken
is then stored in a separate key in localstorge (or cookie/vuex).
If the refreshData
option fires, or with $auth.refresh()
method, the API call will then include the refreshToken
in the Authorization
header or the request body.
Your thoughts?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request