-
-
Notifications
You must be signed in to change notification settings - Fork 77
Windows authentication for admin #17
Comments
Hi, |
Are you using the HostAuthentication mechanism? |
Yes I'll post source code of my startup file in few minutes. |
It looked like this:
Also tried to change UseNtlmAuthentication with authenticationType Cookies and setting default authenticationType to Cookies but with no success. |
We're still not sure how we want to do the authentication/security for this. IdMgr did it by letting the host choose, but many people were confused by it. So this is still a work in progress. |
I've seen that underneath AdminHostSecurityConfiguration is Oauth2 authorization server. It seems complicated and confusing. Maybe it'd be better if there will be more documentation with samples. |
The way I handled this was by setting up my AD user in IdentityServer3. To get the AD creds I used https://github.com/IdentityServer/IdentityServer3.WsFederation. Once the AD user had the right role, I was able to work with Admin |
Yap but this is ADFS. It's shown in official demo how to setup id mgr/admin with adfs. I wanted to use pure AD/windows auth. |
@madhavabhyankar could you elaborate about the your approach? It seems to me that admin is trying to use the authorization endpoint on the same host(base url). I intend to host identity server and admin server separately. |
You don't need to host admin and server on the same host. You just need to have access to identity server database. |
my intention is to use hosted identity sever to authenticate and authorize the access to the database
|
Don't get what you want to do. You want to authorize access to database using identity server? |
right.
|
@zhangxd6 |
Hello,
Is it possible to authenticate user in identityServer.admin portal using windows authentication? I wanted to give it a try but simply switching value of windowsAuthenticate to true in csproj doesn't work. I understand that it's based on owin authentication so I've found two libraries which provides windows authentication for owin:
I am able to authenticate sample application to use above middlewares but i'm unable to make it working with admin. I followed example with ADFS and configured adminHostConfiguration but it isn't working. Any clue?
The text was updated successfully, but these errors were encountered: