I have task to create SSO
(single sign-on) authorization in Python
backend application with the help of Kerberos
and Active Directory
.
In other words, frontend application make AJAX GET request of the specific URL of the backend application. That backend application must return information about employee in JSON format.
What I have done so far:
1) SPN
name for the backend application was created in Active Directory
.
2) krb5.keytab
file for the backend application was created.
3) Active Directory and Kerberos server located on remote Windows server.
4) Backend application would be in Linux Docker container.
5) I install Kerberos client to Docker container.
6) Kerberos Realm: SERVICE.LOCAL
.
7) Hostname for the KDC Server: CS001, CS002, CS003
.
Have you ever seen any implementations of the above process in Python? I will be grateful for any help.