nuxt-alt / auth

An alternative module to @nuxtjs/auth
https://nuxt-alt-auth.vercel.app/
MIT License
112 stars 20 forks source link

400 Bad Request on Token request #114

Open CowCatDE opened 6 months ago

CowCatDE commented 6 months ago

Environment

Nuxt Config

// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ devtools: { enabled: true }, modules: [ '@nuxt-alt/auth',"@pinia/nuxt" ], auth: { globalMiddleware: true, redirect: { login: "/", home: "/", callback: "/" }, strategies: { discord: { clientId: 'XXXXXXXXXXXXXXXXXXXXXX', clientSecret: 'XXXXXXXXXXXXXXXXXXXXXX' }, } } })

Reproduction

https://github.com/CowCatDE/nuxt-alt-auth-error

Describe the bug

When the user authorizes himself via discord he gets a 400 Bad Request error. image image

Additional context

No response

Logs

No response