https://stackoverflow.com/questions/36562344/aspnetcore-change-cookie-name-when-using-google-authentication
在Core 2.1版測試ok
Startup.cs的ConfigureServices()加入
services.ConfigureApplicationCookie(options => {
options.Cookie.Name = "NewCookieName";
});
沒有留言:
張貼留言