Hi, is there a way to change the cookie name so that it isn’t different for each project? I’m trying to autogenerate API from openapi specification, but having it change between dev and production feels awkward and would require a lot of fiddly devops
echoing-orange-98501
06/28/2022, 2:02 PM
I’m using nextjs setup with api routes
h
high-optician-2097
06/28/2022, 8:02 PM
Good question! This is currently not possible due to security reasons, but your use case does sound intriguing. Is there another way to solve this?
e
echoing-orange-98501
06/28/2022, 10:18 PM
Well, after having a second thought about this, the SDK should work, no matter what the cookie names are, as all cookies will be sent anyway. So it’s not really a big deal, it might just look a bit awkward, but that’s ok.