golang backend with nextjs cookie check.
I have created better auth server in my nextjs client app and want to integrate with a golang api service, but i don't know how to extract the cookie in my middleware, how to extract data from a cookie. I have tried jwt plugin as an alternate solution but still can't figure out how to extract the data correctly.
I need to use cookie if possible.
I need to use cookie if possible.