You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.
I would like to force authentication to all users accessing the admin page.
As with other Owin apps, this can be done by adding the following code.
adminApp.Use(async (context, next) =>
{
var user = context.Authentication.User;
if (user == null || user.Identity == null || !user.Identity.IsAuthenticated)
{
context.Authentication.Challenge();
return;
}
await next();
});
This actually redirects all the users to our ADFS server, but this will still show the main page (with a login button). Is their a way to actually log the user in in IdentityAdmin without them pressing the login button?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I would like to force authentication to all users accessing the admin page.
As with other Owin apps, this can be done by adding the following code.
This actually redirects all the users to our ADFS server, but this will still show the main page (with a login button). Is their a way to actually log the user in in IdentityAdmin without them pressing the login button?
The text was updated successfully, but these errors were encountered: