lucia: [Bug]: Cookie not found at '/' root

Package

@lucia-auth/sveltekit

Package version

0.3.0

Describe the bug

When logging out using the signOut method I get logs in my console saying it was trying to delete the auth_session cookie but it was not found at root. I tried setting both the deleteCookieOptions and sessionCookieOptions with path = / but it didn’t change anything.

System info

Windows 10 Chrome 107

Reproduction

No response

Relevant log output

Trying to delete cookie 'auth_session' at path '/', but a cookie with that name only exists at these paths: '/channels'.   
Trying to delete cookie 'auth_session' at path '/', but a cookie with that name only exists at these paths: '/channels'.   
Trying to delete cookie 'auth_session' at path '/', but a cookie with that name only exists at these paths: '/channels'.   
Cookie with name 'auth_session' was not found at path '/login', but a cookie with that name exists at these paths: '/channels'. Did you mean to set its 'path' to '/' instead?
Trying to delete cookie 'auth_session' at path '/', but a cookie with that name only exists at these paths: '/channels'.   
Trying to delete cookie 'auth_session' at path '/', but a cookie with that name only exists at these paths: '/channels'.

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

Yeah seeing the same thing as @rabus now. It isn’t showing up anymore and I just updated to the latest version for both @lucia/sveltekit and the lucia-auth package. Can probably close this issue without any problems