We are building a javascript-client in reactjs within an intranet. The intranet site uses an automatic windows authentication. I have to confess that we don't know the exact details of how this system works, only that the users are stored in active directly and that we can retrieve the list of kerberos tickets using the klist
command in the windows command prompt. Our application is supposed to be embedded in the intranet site and should retrieve the username of the authenticated user. This username will be forwarded to a backend system which we built and will be used to query the active directory for the user's details. We have no control over the intranet site and do not know how this was built.
To my question now. Is it possible, using only javascript in the browser, to retrieve the Kerberos tickets of the authenticated user, which we can then use to extract their username? Is there some other possibility to access the username of the authenticated user?