These are chat archives for IdentityServer/Thinktecture.IdentityServer3

Jun 2016
Sriram Danturthi
Jun 15 2016 20:45
How to set cookie path to current domain
i am trying this way app.Use(async (ctx, next) =>
// we only want this to run once, so assign to null once called
// (and yes, it's possible that many callers hit this at same time,
// but the set is idempotent)
if (cookieAuthenticationOptions.CookiePath.Equals("/"))
cookieAuthenticationOptions.CookiePath = ctx.Request.PathBase.Value;
await next();
but its always redirecting to identity server