# Authentication Settings This contains APIs related to Authentication settings as defined in Harness ## Return configured Ldap settings for the account - [GET /ng/api/authentication-settings/ldap/settings](https://apidocs.harness.io/openapi-merged/authentication-settings/getldapsettings.md): Returns configured Ldap settings and its details for the account. ## Updates Ldap setting - [PUT /ng/api/authentication-settings/ldap/settings](https://apidocs.harness.io/openapi-merged/authentication-settings/updateldapsettings.md): Updates configured Ldap settings along with the user, group queries. ## Create Ldap setting - [POST /ng/api/authentication-settings/ldap/settings](https://apidocs.harness.io/openapi-merged/authentication-settings/createldapsettings.md): Creates Ldap settings along with the user, group queries. ## Delete Ldap settings - [DELETE /ng/api/authentication-settings/ldap/settings](https://apidocs.harness.io/openapi-merged/authentication-settings/deleteldapsettings.md): Delete configured Ldap settings on this account. ## Delete SAML meta data - [DELETE /ng/api/authentication-settings/delete-saml-metadata](https://apidocs.harness.io/openapi-merged/authentication-settings/deletesamlmetadata.md): Deletes SAML metadata for the given Account ID. ## Delete SAML meta data for given SAML sso id - [DELETE /ng/api/authentication-settings/saml-metadata/{samlSSOId}/delete](https://apidocs.harness.io/openapi-merged/authentication-settings/deletesamlmetadataforsamlssoid.md): Deletes SAML metadata for the given Account and SAML sso id ## Update authentication enabled or not for given SAML setting - [PUT /ng/api/authentication-settings/saml-metadata-upload/{samlSSOId}/authentication](https://apidocs.harness.io/openapi-merged/authentication-settings/enabledisableauthenticationforsamlsetting.md): Updates if authentication is enabled or not for given SAML setting in Account ID. ## Gets authentication settings for the given Account ID - [GET /ng/api/authentication-settings](https://apidocs.harness.io/openapi-merged/authentication-settings/getauthenticationsettings.md): Gets authentication settings for the given Account ID. ## Gets authentication settings version 2 for the given Account ID - [GET /ng/api/authentication-settings/v2](https://apidocs.harness.io/openapi-merged/authentication-settings/getauthenticationsettingsv2.md): Gets authentication settings version 2 for the given Account ID. ## Get password strength - [GET /ng/api/authentication-settings/login-settings/password-strength](https://apidocs.harness.io/openapi-merged/authentication-settings/getpasswordstrengthsettings.md): Gets password strength for the given Account ID. ## Test SAML connectivity - [GET /ng/api/authentication-settings/saml-login-test](https://apidocs.harness.io/openapi-merged/authentication-settings/getsamllogintest.md): Tests SAML connectivity for the given Account ID. ## Test SAML connectivity - [GET /ng/api/authentication-settings/saml-login-test/{samlSSOId}](https://apidocs.harness.io/openapi-merged/authentication-settings/getsamllogintestv2.md): Tests SAML connectivity for the given Account ID and SAML setting. ## Delete OAuth Setting - [DELETE /ng/api/authentication-settings/oauth/remove-mechanism](https://apidocs.harness.io/openapi-merged/authentication-settings/removeoauthmechanism.md): Deletes OAuth settings for a given Account ID. ## Enable/disable public access at account level - [PUT /ng/api/authentication-settings/public-access](https://apidocs.harness.io/openapi-merged/authentication-settings/setpublicaccess.md): Enable/disable public access for the given Account ID. ## Set session timeout at account level - [PUT /ng/api/authentication-settings/session-timeout-account-level](https://apidocs.harness.io/openapi-merged/authentication-settings/setsessiontimeoutataccountlevel.md): Sets session timeout of all users for the given Account ID. ## Set two factor authorization - [PUT /ng/api/authentication-settings/two-factor-admin-override-settings](https://apidocs.harness.io/openapi-merged/authentication-settings/settwofactorauthataccountlevel.md): Sets Two-Factor authorization for the given Account ID. ## Update Auth mechanism - [PUT /ng/api/authentication-settings/update-auth-mechanism](https://apidocs.harness.io/openapi-merged/authentication-settings/updateauthmechanism.md): Updates the authentication mechanism for the given Account ID. ## Update Oauth providers - [PUT /ng/api/authentication-settings/oauth/update-providers](https://apidocs.harness.io/openapi-merged/authentication-settings/updateoauthproviders.md): Updates OAuth providers for the given Account ID. ## Update SAML metadata - [PUT /ng/api/authentication-settings/saml-metadata-upload](https://apidocs.harness.io/openapi-merged/authentication-settings/updatesamlmetadata.md): Updates SAML metadata of the SAML configuration configured for an account ## Upload SAML metadata - [POST /ng/api/authentication-settings/saml-metadata-upload](https://apidocs.harness.io/openapi-merged/authentication-settings/uploadsamlmetadata.md): Updates the SAML metadata for the given Account ID. ## Update SAML metadata for a given SAML SSO Id - [PUT /ng/api/authentication-settings/saml-metadata-upload/{samlSSOId}](https://apidocs.harness.io/openapi-merged/authentication-settings/updatesamlmetadataforsamlssoid.md): Updates SAML metadata of the SAML configuration with given SSO Id, configured for an account ## Updates the whitelisted domains - [PUT /ng/api/authentication-settings/whitelisted-domains](https://apidocs.harness.io/openapi-merged/authentication-settings/updatewhitelisteddomains.md): Updates whitelisted domains configured for an account. ## Upload SAML metadata - [POST /ng/api/authentication-settings/saml-metadata](https://apidocs.harness.io/openapi-merged/authentication-settings/uploadsamlmetadata_1.md): Updates the SAML metadata for the given Account ID.