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

The token stored in a cookie is not sent during my https request #923

Closed
Tomus45 opened this issue Oct 8, 2024 · 2 comments
Closed

The token stored in a cookie is not sent during my https request #923

Tomus45 opened this issue Oct 8, 2024 · 2 comments
Labels
bug A bug that needs to be resolved closed-by-bot Closed by automation needs-reproduction Action needed: A valid reproduction of the issue needs to be added pending An issue waiting for triage

Comments

@Tomus45
Copy link

Tomus45 commented Oct 8, 2024

Environment

Reproduction

provider: {
  type: "local",
  endpoints: {
    signIn: { path: "login", method: "post" },
    signUp: { path: "register", method: "post" },
    getSession: { path: "user", method: "get" },
  },
  token: {
    signInResponseTokenPointer: "/token/accessToken",
    type: "Bearer",
    cookieName: "auth.token",
    headerName: "Authorization",
    maxAgeInSeconds: 10800,
    signUpResponseTokenPointer: "/token/accessToken",
    getSessionResponseTokenPointer: "/token/accessToken",
  },
  sessionDataType: {
    id: "string",
    email: "string",
    pseudo: "string",
    role: "'admin' | 'account'",
  },
},

Describe the bug

Locally in http the cookie containing the token is sent with my request but in production in https when I make my request the cookie is no longer present with the request. How can I solve this?

Additional context

No response

Logs

No response

@Tomus45 Tomus45 added bug A bug that needs to be resolved pending An issue waiting for triage labels Oct 8, 2024
@zoey-kaiser zoey-kaiser added the needs-reproduction Action needed: A valid reproduction of the issue needs to be added label Oct 9, 2024
Copy link

github-actions bot commented Oct 9, 2024

Hello 👋

Please provide a reproduction for this issue 🙏

How can I create a reproduction?

Please use one of the following links to reproduce your issue.

Please ensure that the reproduction is as minimal as possible. This will allow us to isolate the issue as best as possible.

Here are some more amazing posts about the importance of reproductions:

Copy link

This issue was closed because it was open for 14 days without a reproduction.

@github-actions github-actions bot added the closed-by-bot Closed by automation label Oct 24, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2024
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 closed-by-bot Closed by automation needs-reproduction Action needed: A valid reproduction of the issue needs to be added pending An issue waiting for triage
Projects
None yet
Development

No branches or pull requests

2 participants