Last post Aug 03, 2017 07:09 AM by Edward Z
Jul 21, 2017 07:33 AM|IamGuy84|LINK
I am using Asp.net core and have created windows Authentication (Use IdenityServer4). It seems good. Now I want to create sign in as user different in controller.
If I clicked sign in as user different button or link then I want to display browser login prompt. E.g:
I have been searching all day and I cannot find a solution to this.
I am waiting for your response.
Thanks in Advance!
Jul 21, 2017 09:08 AM|Kelmen|LINK
are u asking for to have exactly that login popup?
afaik, those login popup is dependent on the browser. u shouldn't use this feature.
Jul 21, 2017 11:59 AM|IamGuy84|LINK
Yes i am talking about login popup as browser login prompt.
This is what i required it
Jul 21, 2017 12:39 PM|mgebhard|LINK
The login prompt is invoked when the browser cannot negotiate credentials with the server. This happens in Windows authentication and basic authentication and is not a user controlled function. In other words, what you are trying to do will not work. You'll
need to come up with a different approach.
Aug 03, 2017 07:09 AM|Edward Z|LINK
>> If I clicked sign in as user different button or link then I want to display browser login prompt
For your requirement, it could be split into two parts, login popup and windows authentication, I found you have post a new thread for windows authentication, and you could pay attention on the new thread for windows authentication.
For login prompt windows by click button, I suggest you try
Modal, and modify the content of the Modal by filling username and password input.
Here is the repository in GitHub.