Open Rizzato95 opened 1 week ago
Added refreshResponseTokenPointer option to allow the token assignment (during the refresh call) to a different property respect to the signIn call.
refreshResponseTokenPointer
refresh
signIn
This is useful in cases where the server returns the token in a property with different names between login and refresh.
login
Open in Stackblitz
pnpm add https://pkg.pr.new/@sidebase/nuxt-auth@910
commit: c90dba8
c90dba8
๐ Linked issue
895
โ Type of change
๐ Description
Added
refreshResponseTokenPointer
option to allow the token assignment (during therefresh
call) to a different property respect to thesignIn
call.This is useful in cases where the server returns the token in a property with different names between
login
andrefresh
.๐ Checklist