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

refresh token is send with bearer #879

Closed
PhillipeCosta opened this issue Aug 23, 2024 · 1 comment · Fixed by #886
Closed

refresh token is send with bearer #879

PhillipeCosta opened this issue Aug 23, 2024 · 1 comment · Fixed by #886
Labels
bug A bug that needs to be resolved provider-local An issue with the local provider

Comments

@PhillipeCosta
Copy link

Environment

npx nuxi info

Reproduction

auth: {
isEnabled: true,
baseURL: ${process.env.AUTH_ORIGIN},
globalAppMiddleware: true,
provider: {
type: "local",
endpoints: {
signUp: false,
signIn: { path: "auth/mfa", method: "post" },
getSession: { path: "auth/user", method: "get" },
},
token: {
signInResponseTokenPointer: "/access_token",
sameSiteAttribute: "strict",
maxAgeInSeconds: 36000,
},
refresh: {
isEnabled: true,
endpoint: { path: "auth/refresh", method: "post" },
token: {
signInResponseRefreshTokenPointer: "/refresh_token",
refreshRequestTokenPointer: "/refresh_token",
maxAgeInSeconds: 1800,
},
},
},
},

Describe the bug

refresh token is send with bearer, can i remove?

image

Additional context

No response

Logs

No response

@PhillipeCosta PhillipeCosta added bug A bug that needs to be resolved pending An issue waiting for triage labels Aug 23, 2024
@zoey-kaiser zoey-kaiser added provider-local An issue with the local provider and removed pending An issue waiting for triage labels Aug 25, 2024
@zoey-kaiser
Copy link
Member

Fixed in @sidebase/nuxt-auth@0.9.1! Thanks for the report 😊

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 provider-local An issue with the local provider
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants