-
-
Notifications
You must be signed in to change notification settings - Fork 188
Closed
Labels
enhancementAn improvement that needs to be addedAn improvement that needs to be addedp4Important IssueImportant Issueprovider-refreshAn issue with the refresh providerAn issue with the refresh provider
Description
Describe the feature
Hi there!
I'm using nuxt-auth and refresh mode to manage JWT.
Obtaining new access and refresh token works fine, but not refreshing a token.
Nuxt-auth sends this JSON:
{
"refreshToken":"eyJhbGc..."
}
My back-end expects a JSON with field "refresh", so an 400 error is returned.
I wish to customize the name like so:
refreshToken: {
signInResponseRefreshTokenPointer: '/refresh',
maxAgeInSeconds: 86400,
fieldName: 'refresh'
}
Thanks!
Additional information
No response
J3m5, anjarupnik, minhphuc429, MelvinIdema, geoffreylzf and 1 more
Metadata
Metadata
Assignees
Labels
enhancementAn improvement that needs to be addedAn improvement that needs to be addedp4Important IssueImportant Issueprovider-refreshAn issue with the refresh providerAn issue with the refresh provider