After completing the login and callback, the URL will open without the query parameters (e.g. https://localhost/app/foo).
Additional information
The problem is caused by normalizePath being executed on the URL retrieved by this.$storage.getUniversal('redirect').
I have created a pull request at https://github.com/nuxt-community/auth-module/pull/1827 to resolve this issue.
Checklist
[ ] I have tested with the latest Nuxt version and the issue still occurs
[ ] I have tested with the latest module version and the issue still occurs
[x] I have searched the issue tracker and this issue hasn't been reported yet
Version
module: 5.0.0-1637745161.ea53f98 nuxt: 2.15.8
Nuxt configuration
mode:
Reproduction
What is expected?
The query parameters should not be lost when redirected to a URL after login.
What is actually happening?
Query parameters are being lost.
Steps to reproduce
Additional information
The problem is caused by
normalizePath
being executed on the URL retrieved bythis.$storage.getUniversal('redirect')
. I have created a pull request at https://github.com/nuxt-community/auth-module/pull/1827 to resolve this issue.Checklist