Open CowCatDE opened 6 months ago
// 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' }, } } })
https://github.com/CowCatDE/nuxt-alt-auth-error
When the user authorizes himself via discord he gets a 400 Bad Request error.
No response
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.
Additional context
No response
Logs
No response