Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate addDefaultCallbackUrl not working correctly #857

Open
zoey-kaiser opened this issue Aug 11, 2024 · 1 comment
Open

Investigate addDefaultCallbackUrl not working correctly #857

zoey-kaiser opened this issue Aug 11, 2024 · 1 comment
Labels
bug A bug that needs to be resolved p4 Important Issue provider-authjs An issue with the authjs provider

Comments

@zoey-kaiser
Copy link
Member

Environment


  • Operating System: Darwin
  • Node Version: v22.3.0
  • Nuxt Version: 3.12.4
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.7
  • Package Manager: pnpm@9.5.0
  • Builder: -
  • User Config: compatibilityDate, future, experimental, devtools, modules, css, runtimeConfig, tailwindcss, naiveui, notivue, fonts, icon, i18n, auth, typescript, sourcemap, tiptap
  • Runtime Modules: @nuxtjs/i18n@8.3.1, @vueuse/nuxt@10.11.0, @vee-validate/nuxt@4.13.2, @sidebase/nuxt-auth@0.8.2, @nuxtjs/tailwindcss@6.12.1, @bg-dev/nuxt-naiveui@1.11.0, notivue/nuxt, @nuxt/fonts@0.7.1, @nuxt/icon@1.2.0, nuxt-tiptap-editor@1.1.2
  • Build Modules: -

Reproduction

Describe the bug

In #832, the issue was raised that the addDefaultCallbackUrl was not working as intended. From my initial investigation, the callback URL does get set inside the login link, however after authenticating the user is still redirected to the index page instead of the page they were supposed to be redirected to.

Additional context

No response

Logs

No response

@zoey-kaiser zoey-kaiser added bug A bug that needs to be resolved pending An issue waiting for triage labels Aug 11, 2024
@zoey-kaiser zoey-kaiser added p4 Important Issue provider-authjs An issue with the authjs provider and removed pending An issue waiting for triage labels Aug 11, 2024
@DarioRega
Copy link

Having the same issue, on nuxt 3.11.2as well but with local provider. Everythings seems fine until it's calling getOriginalTargetPath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug that needs to be resolved p4 Important Issue provider-authjs An issue with the authjs provider
Projects
None yet
Development

No branches or pull requests

2 participants