Replies: 1 comment
-
You can't fully rename it, but you are allowed to customise the cookie prefix by export default buildConfig({
//...
cookiePrefix: "new_prefix", // it will become "new_prefix-token"
//...
}); Ref: https://payloadcms.com/docs/configuration/overview#config-options Hope this help |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there I'm wondering if there's a way to set the cookie name for the payload-token to a different name. Problem is when deploying on cloudrun with firebase hosting as loadbalancer they strip away all the cookies except for __session (due to caching reasons). Is there an easy way or do I need to implement a custom auth strategy?
Thank's for the help!
Beta Was this translation helpful? Give feedback.
All reactions