====== SSO implementation for zebrix ====== ====== What is Single Sign-On ====== Single sign-on (SSO) is a property of access control of multiple related, yet independent, software systems. With this feature, a user logs in with a single ID and password to gain access to a connected system or systems without using different usernames or passwords, or in some configurations seamlessly sign on at each system. ([[https://www.wikiwand.com/en/Single_sign-on|source: wikipedia]]) ====== Benefits ====== Benefits of using single sign-on include: * Mitigate risk for access to 3rd-party sites (user passwords not stored or managed externally) * Reduce password fatigue from different username and password combinations * Reduce time spent re-entering passwords for the same identity * Reduce IT costs due to lower number of IT help desk calls about passwords SSO shares centralized authentication servers that all other applications and systems use for authentication purposes and combines this with techniques to ensure that users do not have to actively enter their credentials more than once. ([[https://www.wikiwand.com/en/Single_sign-on|source: wikipedia]]) ====== SSO implementation with zebrix ====== ===== Compatibility ===== zebrix has been tested with following authentication/SSO protocols/technologies: * CAS * OAuth * SAMLv2 * ADFS * Microsoft 365 / Azure AD STS ([[en:sso_implementation_azuread|Please read this tutorial to know how to configure Azure AD for SSO with zebrix]]) ===== How to enable SSO with zebrix ===== To enable the SSO authentication on your zebrix account, please follow these steps: ==== 1. Add the zebrix app in your authentication portal ==== Please create the "zebrix" application in your authentication portal. If you're using Microsoft 365, [[en:sso_implementation_azuread|you can follow this technical guide.]] Here is the zebrix's metadata you'll need to use : MIICsDCCAZgCCQCGpnz8YkjxkDANBgkqhkiG9w0BAQUFADAaMRgwFgYDVQQDDA9h dXRoLnplYnJpeC5uZXQwHhcNMTcwOTA1MTAzMjE2WhcNMjcwOTA1MTAzMjE2WjAa MRgwFgYDVQQDDA9hdXRoLnplYnJpeC5uZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IB DwAwggEKAoIBAQDJWm+DsyZOtWyoPXetbNoFRsfxqs0vunXkZV5lCFOE3IrDGtxV l+ulGY1R2d0Fy1SAVNdYjXQIHxPwSFRW3G8OjHsrsZwfVHvcCxuySLqxTHXMaM6U +W7XDiB8zuGTut3C47tPzGh9DLUXKqBRCpfn1pOtzSGLyd8ZQbsE4RfOAcdk0sA1 tX0mi0jiFmy0G1Md/qaBsM4Rq5inAU6A/IBXgE18MWXJYNAIr0vc1O7IGzqfu2KB gI7opKnxyowXxr192FJ8XizUEte8Q6v+nWS0VaMw/mLoXZGSIiNGtrwkp1TddGpI ONYzoc8PUGczJtXGjTlOVbirFySnyzaajFklAgMBAAEwDQYJKoZIhvcNAQEFBQAD ggEBALp4cUX5Geag79iQTYoxlbKPhzzSogRJ7ufLwWOEniC0jmjvxS5nkr2vcXRO TQqWgpXnbTQWSxdz01prE6NQy9eLWjIgXpCCa+18RCPJvCykFsnKzKGTsQI+/9HF 5HeB6qEmtrzY2QT9Hn30Z4bRma2L6OCYvwHOZz05XOaRyOHFSIBGGfRNOU4iBMRp PkN+1p+EX07etvsDdZ1UnVg1kZQD6Br3hn3oAUvIctFrctThMd9hSh5GSx1UOhHv 7GfBWQ4Q4tYFOisPreeMgkuan+0x5j1pJwD3Ws2UDwl89lgACS96XmHtsHiwwJBb I2NhPG6CSSWaSxiAHjyRZIHWPls= **Required claims are :** * UPN (mandatory) * Name (Concatenation of first and last name) (recommended) * e-mail address (recommended) ==== 2. Contact our support team to request SSO activation at support@zebrix.net ==== * Please mention your zebrix account name (client name) * Please attach your metadata XML or give the public URL to access it ==== 3. Our technical team confirms SSO activation ==== When the configuration has been implemented on our side, you'll receive a confirmation from our technical team, and you can log in to zebrix using SSO. ===== How will user login to zebrix thanks to sso? ===== Users have to connect to https://cmsv2.zebrix.net/cn/**yourCompanyName**. zebrix server will check if the user is already authenticated with your company authentification portal. At this step, there are three possibilities: * If a user is already authenticated on your potal and authorized to use zebrix, he will directly be logged into zebrix and can use it. * If a user is not authenticated, he will be redirected to the login page of your company and as soon as he got authenticated he will be automatically redirected to zebrix. * In both previous cases, if the user is still unknown by zebrix, he will get a "User Awaiting for activation" message. In this case, another zebrix user (with admin right) must uncheck the "lock" checkbox in the user properties. Please note that users can also be pre-activated by using the "Add SSO user" button. Existing zebrix regular user can also be converted into SSO user. ===== How to enable SSO on an existing zebrix user ===== Only user known as SSO user will be able to log in via SSO. Here is how you can enable SSO on existing zebrix user. Click on the convert button {{ :en:sso_convertexistinguser.jpg |}} Specify the UPN of the user as it will be received in claims {{ :en:sso_convertexistinguser_upn.jpg |}} ===== How to create new SSO users ===== Only user known as SSO user will be able to log in via SSO. Here is how you can declare SSO users in zebrix. {{ :en:sso_createnewssousers.jpg |}} Thanks to this pop-in window, you can create/declare one or many SSO users in one operation ===== How to enable SSO on auto-added users ===== If a SSO user (unknown by zebrix) tries to access zebrix, it will automaticaly declared in zebrix as know SSO user but will be locked. It is required that an admin level user enable the account {{ :en:sso_enableautoaddeduser.jpg |}}