nuxt-community / auth-module

Zero-boilerplate authentication support for Nuxt 2
https://auth.nuxtjs.org
MIT License
1.93k stars 924 forks source link

fix(refresh): prevent duplicating refresh token in parallel requests #1796

Closed trandaison closed 1 year ago

trandaison commented 1 year ago

Fix issue: https://github.com/nuxt-community/auth-module/issues/1772 and https://github.com/nuxt-community/auth-module/issues/1743

Screen Shot 2022-11-01 at 11 28 06
trandaison commented 1 year ago

Hi @bmulholland,

Can we get this merged and release? Thank you!

bmulholland commented 1 year ago

There’s not much point: a rewrite is coming soon

bmulholland commented 1 year ago

But sure, can merge if you add a comment explaining what this code is doing and why.

trandaison commented 1 year ago

@bmulholland Thanks for reviewing. I added some comment to explain the code. Can you merge it now? Thanks!

a rewrite is coming soon

Can't wait to see the new version of this module.