Closed steklopod closed 1 year ago
the leading dot notation of the cookie (.colaba.online) would be able to work with the nod dot one (colaba.online) if that's what set in the domain otherwise the duplication is unnecessary.
Thank for the reply. I can prove that removing dot .
prefix from cookie's domain solved the problem. So oAuth2 works with the latest version 2.4.2
👍🏻
I have my own backend that provides oAuth2 flow. So I am not using oAuth2 functionality from the
nuxt-alt
lib. In version 2.3.11 I am logged in and have such cookies:It seems like
nuxt-alt/auth
duplicates my.server.cookie
(server.cookie
without dot in domain column). But it works.With version >2.3.12 (up to the latest) I am not logged in and only
.server.cookie
with dot at the beginning presentsI saw that function
getCookies()
was removed in 2.3.12 https://github.com/nuxt-alt/auth/commit/81c7ae0b2a93d372c65d9fdfe9e33632eaea38f5