@nuxt/auth 我可以使用参数发送刷新令牌吗?
@nuxt/auth can I send refresh token using params?
我对 @nuxt/auth module 有疑问。我已经在刷新方法中使用了 refresh scheme
,模块在 Payload Request
中发送刷新令牌,但我想在参数中发送它。
我该怎么办?
auth
插件不是很灵活,看着这个,我不确定这是不是很可定制:https://auth.nuxtjs.org/schemes/refresh#refreshtoken
如果您可以编辑后端以适应此模块的工作方式,可能会更容易。
另一边有refreshController
but I don't really know how this one works nor if it can help you. This github issue may help I hope: https://github.com/nuxt-community/auth-module/issues/924
我对 @nuxt/auth module 有疑问。我已经在刷新方法中使用了 refresh scheme
,模块在 Payload Request
中发送刷新令牌,但我想在参数中发送它。
我该怎么办?
auth
插件不是很灵活,看着这个,我不确定这是不是很可定制:https://auth.nuxtjs.org/schemes/refresh#refreshtoken
如果您可以编辑后端以适应此模块的工作方式,可能会更容易。
另一边有refreshController
but I don't really know how this one works nor if it can help you. This github issue may help I hope: https://github.com/nuxt-community/auth-module/issues/924