How to customize the cookie name after login #16690
Unanswered
gaojianzhuang
asked this question in
Q&A
Replies: 1 comment
-
You can configure cookie options services.ConfigureApplicationCookie(options =>
{
options.Cookie.Name = "orchauth_" + HttpUtility.UrlEncode(_tenantName);
}); |
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.
-
When we log in the site, the client side will record the cookie as below:

How to define the cookie name instead of the "orchauth_Default"?
When I launch 2 orchard sites on my local, the cookie names will conflict with each other.
Beta Was this translation helpful? Give feedback.
All reactions