Hello.
I have fixed a problem with query parameters being lost even with fullPathRedirect enabled.
The problem occurs when a subdirectory is specified in router.base in nuxt.config.js as follows.
This problem is caused by normalizePath being executed on the URL retrieved by this.$storage.getUniversal('redirect').
To avoid this problem, I have changed where normalizePath is executed.
For example, if you intended to forward to https://localhost/app/foo?bar=123 after login
/foo?bar=123 will be replaced by normalizePath, resulting in a transfer to https://localhost/app/foo.
This problem has been resolved in this commit.
Hello. I have fixed a problem with query parameters being lost even with
fullPathRedirect
enabled. The problem occurs when a subdirectory is specified inrouter.base
innuxt.config.js
as follows.This problem is caused by
normalizePath
being executed on the URL retrieved bythis.$storage.getUniversal('redirect')
. To avoid this problem, I have changed wherenormalizePath
is executed.For example, if you intended to forward to
https://localhost/app/foo?bar=123
after login/foo?bar=123
will be replaced bynormalizePath
, resulting in a transfer tohttps://localhost/app/foo
. This problem has been resolved in this commit.Issue is here https://github.com/nuxt-community/auth-module/issues/1828
Thanks for the confirmation.