Skip to main content
Version: v2.7.0

Authentication

Yeedu supports two types of authentication: Azure AD and LDAP.

1. Azure AD

To set up Yeedu with Azure AD, ensure that the Service Principal Name (SPN) has the necessary permissions to read users and groups from your organization's Active Directory.

To add a user to Yeedu, we first add the user to the AD group and once added, user can login to Yeedu. Once the user logs in, Admin will add that user to a tenant based on their usecase requirements.

ad-group-info

The above screenshot shows a sample AD group G_Yeedu.

add-user-to-ad-group

To grant a user access to Yeedu, add the user to the AD group. Once added, the user can log in to Yeedu. Administrators can then assign the user to a tenant based on their specific requirements. To add users to Yeedu, click on the Add Members button and add the respective user to the AD Group. Yeedu automatically gets the new user data and the new user can now login to Yeedu using their Azure credentials.

Below are the variables required to configure Azure AD in Yeedu's connection properties file:

VariableDescriptionRequired
YEEDU_AUTH_AZURE_AAD_CLIENT_IDClient ID for Azure Active Directory (AAD) authenticationYes
YEEDU_AUTH_AZURE_AAD_TENANT_IDTenant ID for Azure Active Directory (AAD) authenticationYes
YEEDU_AUTH_AZURE_AAD_CLIENT_SECRETClient secret for Azure Active Directory (AAD) authenticationYes
YEEDU_AUTH_AZURE_AAD_ALLOWED_DOMAINAllowed domain for Azure Active Directory (AAD) authenticationYes

2. LDAP

Below are the variables required to configure LDAP in Yeedu's connection properties file. Based on your organziations LDAP tree structure, provide the BASE_DN and BIND_DN.

VariableDescriptionDefault ValueRequired
YEEDU_AUTH_LDAP_ORGANISATIONLDAP organization nameyeeduYes
YEEDU_AUTH_LDAP_DOMAINLDAP domainyeedu.comYes
YEEDU_AUTH_LDAP_ADMIN_PASSWORDPassword for LDAP administratorNdbk5LgbYes
YEEDU_AUTH_LDAP_HOSTNAMEHostname or IP address of the LDAP serverEndpoint URL of LDAPYes
YEEDU_AUTH_LDAP_PORTPort number for LDAP server389No
YEEDU_AUTH_LDAP_BASE_DNBase DN for LDAPdc=yeedu,dc=comYes
YEEDU_AUTH_LDAP_BIND_DNBind DN for LDAPcn=admin,dc=yeedu,dc=comYes
YEEDU_AUTH_LDAP_BIND_PASSWORDPassword for LDAP bind userNdbk5LgbYes
YEEDU_AUTH_LDAP_SSL_ENABLEDEnable SSL encryption for LDAP connectionfalseNo