Closed takanome-dev closed 11 months ago
Tried using cookies to store the token but for some reason the browser is not saving it. Not sure what I'm doing wrong here
Server https://github.com/takanome-dev/blog-with-astro-golang/blob/b372a75425da0c16e28b9f9172a321e3b11257fa/server/pkg/controllers/auth.controller.go#L110-L116
Client https://github.com/takanome-dev/blog-with-astro-golang/blob/b372a75425da0c16e28b9f9172a321e3b11257fa/client/src/pages/login.astro#L56-L58
Tried using cookies to store the token but for some reason the browser is not saving it. Not sure what I'm doing wrong here
Server https://github.com/takanome-dev/blog-with-astro-golang/blob/b372a75425da0c16e28b9f9172a321e3b11257fa/server/pkg/controllers/auth.controller.go#L110-L116
Client https://github.com/takanome-dev/blog-with-astro-golang/blob/b372a75425da0c16e28b9f9172a321e3b11257fa/client/src/pages/login.astro#L56-L58