We are using windows auhtentication in our .net web forms application and when the login page is requested the windows secuirty popup comes requesting the username and password for the user.
Now i can see the request header below
Auhtnetication header --> Negotiate Yllabcojgdgdflkg.......
how can i get the user name from the above negotiate authentication header and the kerberos token in .net.
How can I decode it in .net to get the user name and other information stored in the token?
I can not see any samples explaining the procedures and explanations.
It is a web form application with windows authentication in config and when we try the login page we get the negotiate header with the kerberos token.
I want to know how to decode the token to get the user name from it.