I have the following scenario: The user requests a web page. He is redirected to a landing page which should determine if the user can successfully authenticate using a Kerberos ticket. If he can, then he should be redirected to his originally requested page. If he can't, I do not wish the user to see the regular browser credentials window, but instead be redirected to a log-in page (after which he will be redirected to his originally requested page).
Any idea how I can test in JS if authentication would be successful and then make the decision then?
Any other ideas would be welcome as well. My server-side will be written in PHP.
Question
@Leo
Hi guys,
I have the following scenario: The user requests a web page. He is redirected to a landing page which should determine if the user can successfully authenticate using a Kerberos ticket. If he can, then he should be redirected to his originally requested page. If he can't, I do not wish the user to see the regular browser credentials window, but instead be redirected to a log-in page (after which he will be redirected to his originally requested page).
Any idea how I can test in JS if authentication would be successful and then make the decision then?
Any other ideas would be welcome as well. My server-side will be written in PHP.
Thanks,
Link to comment
https://www.neowin.net/forum/topic/1014546-determining-if-kerberos-auth-would-be-successful-using-javascript/Share on other sites
6 answers to this question
Recommended Posts