-
In previous ASP.NET, we were caching Authentication module to improve speed, e.g.
This is psedo code.
```
context.User = HttpRuntime.Cache["FA-" + cookie.Value] as IPrincipal
if(context.U…
-
I am trying to setup a web api with signalr and during the process I noticed this oddity. I cannot seem to find a documented reason why the Identity on the OwinContext would be emptied out after there…
-
The following user code shows the exception page as expected:
``` C#
app.UseDeveloperExceptionPage();
app.Run(async (context) =>
{
throw new Exception();
await context.Response.WriteAsync("he…
-
Hi,
I have several sites on the same server just using a different subdomain. An example may look like this:
- sales.contoso.com
- customers.contoso.com
- invoicing.contoso.com
I cannot use…
-
I'm going to implement a provider to perform authentication for websites showing inside the WeiXin (aka WeChat) app (different from the existing WeiXin provider). The length of `state` parameter is li…
-
Hi all,
Not sure if this is an appropriate place to ask this question but here goes anyway.
I have a couple of older ASP.NET MVC apps that use Forms Authentication, ASP.NET Membership and do _no…
-
I'm trying to use UseOAuthBearerAuthentication as external provider with IdentityServer.
I implemented my custom OAuthBearerAuthenticationProvider.
Using this provider I successfully redirect to exte…
-
Hi
In my single-page application using ajax requests I need to sign-in user using ajax (with antiforgery token provided by GetAndStoreTokens()) - all nice and well, but after the sign-in subsequent r…
-
It would be helpful for IdentityServer to allow a way to use custom `CookieAuthenticationOptions.TicketDataFormat`. That way developers can specify their own format, if they choose, otherwise existing…
-
Hi Brock,
We have a website that uses membership framework for authentication.
Now we are trying to implement a MVC web API. We would like to use the same membership authentication for the API too. …