{"id":195,"date":"2023-11-20T16:13:06","date_gmt":"2023-11-20T15:13:06","guid":{"rendered":"https:\/\/helpdesk.ovio365.com\/?p=195"},"modified":"2023-12-04T12:54:21","modified_gmt":"2023-12-04T11:54:21","slug":"chapter-4-saml-installation","status":"publish","type":"post","link":"https:\/\/helpdesk.ovio365.com\/en-us\/?p=195","title":{"rendered":"Chapter 4 SAML Installation"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px|||||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; header_5_line_height=&#8221;1.5em&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p>In this section we will discuss the SAML integration of OVIO. With this section we can easily integrate our application into your current identity provider. This leads to an automatic import, user maintenance and assignment of authorizations in company-based groups \/ departments.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h1><span class=\"ez-toc-section\" id=\"1_SAML_Providers\"><\/span>1. SAML Providers<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; header_5_line_height=&#8221;1.5em&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p>Amazon AWS Identity<\/p>\n<p>Google Identity<\/p>\n<p>Microsoft Entra<\/p>\n<p>OCTA<\/p>\n<p>Every other provider that supports SAML 2.0.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h1><span class=\"ez-toc-section\" id=\"2_SAML_Requirements\"><\/span>2. SAML Requirements<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p>This example is based on a Microsoft Entra integration.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2><span class=\"ez-toc-section\" id=\"21_SAML_Configuration\"><\/span>2.1. SAML Configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<table border=\"1\" style=\"border-collapse: collapse;width: 100%;height: 96px\">\n<tbody>\n<tr style=\"height: 24px\">\n<td style=\"width: 50%;height: 24px\">\n<p><strong>Attribut<\/strong><\/p>\n<\/td>\n<td style=\"width: 50%;height: 24px\">\n<p><strong>Wert<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 50%;height: 24px\">\n<p>Identifier (Entity ID)<\/p>\n<\/td>\n<td style=\"width: 50%;height: 24px\">\n<p>https:\/\/serverurl.domin.de\/something<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 50%;height: 24px\">\n<p>Reply URL (Assertion Consumer Service URL)<\/p>\n<\/td>\n<td style=\"width: 50%;height: 24px\">\n<p>https:\/\/serverurl.domin.de\/something<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 50%;height: 24px\">\n<p>Logout URL\u00a0<\/p>\n<\/td>\n<td style=\"width: 50%;height: 24px\">\n<p>https:\/\/serverurl.domin.de\/something\/something<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2><span class=\"ez-toc-section\" id=\"22_SAML_Attribute\"><\/span>2.2. SAML Attribute<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<table border=\"1\" style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\"><strong>OVIO Parameter<\/strong><\/td>\n<td style=\"width: 50%;\"><strong>Example Microsoft Entra<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\"><span>user_assignedroles<\/span><\/td>\n<td style=\"width: 50%;\"><span>user.assignedroles<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\"><span>user_givenname<\/span><\/td>\n<td style=\"width: 50%;\"><span>user.givenname<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\"><span>user_isEnabled<\/span><\/td>\n<td style=\"width: 50%;\"><span>user.accountenabled<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\"><span>user_language<\/span><\/td>\n<td style=\"width: 50%;\"><span>user.preferredlanguage<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\"><span>user_mail<\/span><\/td>\n<td style=\"width: 50%;\"><span>user.mail<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\"><span>user_phone<\/span><\/td>\n<td style=\"width: 50%;\"><span>user.mobilephone<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\"><span>user_surname<\/span><\/td>\n<td style=\"width: 50%;\"><span>user.surname<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\"><span>user_groups<\/span><\/td>\n<td style=\"width: 50%;\"><span>user.groups<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\"><span>Unique User Identifier<\/span><\/td>\n<td style=\"width: 50%;\"><span>user.userprincipalname<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2><span class=\"ez-toc-section\" id=\"23_SAML_Certificate\"><\/span>2.3. SAML Certificate<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; header_5_line_height=&#8221;1.5em&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p>The support department requires a Federation Metadata XML file with an integrated certificate from you at the setup appointment. You can see an example of what this looks like here:<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; header_5_line_height=&#8221;1.5em&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<div>\n<p><span>&lt;?<\/span><span>xml<\/span><span> version<\/span><span>=<\/span><span>&#8220;1.0&#8221;<\/span><span> encoding<\/span><span>=<\/span><span>&#8220;utf-8&#8221;<\/span><span>?&gt;&lt;<\/span><span>EntityDescriptor<\/span><span> <\/span><span>ID<\/span><span>=<\/span><span>&#8220;_171ef52486&#8221;<\/span><span> <\/span><span>entityID<\/span><span>=<\/span><span>&#8220;https:\/\/sts.windows.net\/&#8221;<\/span><span> <\/span><span>xmlns<\/span><span>=<\/span><span>&#8220;urn:oasis:names:tc:SAML:2.0:metadata&#8221;<\/span><span>&gt;<\/span><\/p>\n<p><span>&lt;<\/span><span>Signature<\/span><span> <\/span><span>xmlns<\/span><span>=<\/span><span>&#8220;http:\/\/www.w3.org\/2000\/09\/xmldsig#&#8221;<\/span><span>&gt;<\/span><\/p>\n<p><span>&lt;<\/span><span>SignedInfo<\/span><span>&gt;&lt;<\/span><span>CanonicalizationMethod<\/span><span> <\/span><span>Algorithm<\/span><span>=<\/span><span>&#8220;http:\/\/www.w3.org\/2001\/10\/xml-exc-c14n#&#8221;<\/span><span> <\/span><span>\/&gt;<\/span><\/p>\n<p><span>&lt;<\/span><span>SignatureMethod<\/span><span> <\/span><span>Algorithm<\/span><span>=<\/span><span>&#8220;http:\/\/www.w3.org\/2001\/04\/xmldsig-more#rsa-sha256&#8221;<\/span><span> <\/span><span>\/&gt;<\/span><\/p>\n<p><span>&lt;<\/span><span>Reference<\/span><span> <\/span><span>URI<\/span><span>=<\/span><span>&#8220;#_171ef597-486&#8221;<\/span><span>&gt;&lt;<\/span><span>Transforms<\/span><span>&gt;<\/span><\/p>\n<p><span>&lt;<\/span><span>Transform<\/span><span> <\/span><span>Algorithm<\/span><span>=<\/span><span>&#8220;http:\/\/www.w3.org\/2000\/09\/xmldsig#enveloped-signature&#8221;<\/span><span> <\/span><span>\/&gt;<\/span><\/p>\n<p><span>&lt;<\/span><span>Transform<\/span><span> <\/span><span>Algorithm<\/span><span>=<\/span><span>&#8220;http:\/\/www.w3.org\/2001\/10\/xml-exc-c14n#&#8221;<\/span><span> <\/span><span>\/&gt;&lt;\/<\/span><span>Transforms<\/span><span>&gt;<\/span><\/p>\n<p><span>&lt;<\/span><span>DigestMethod<\/span><span> <\/span><span>Algorithm<\/span><span>=<\/span><span>&#8220;http:\/\/www.w3.org\/2001\/04\/xmlenc#sha256&#8221;<\/span><span> <\/span><span>\/&gt;<\/span><\/p>\n<p><span>&lt;<\/span><span>DigestValue<\/span><span>&gt;&lt;\/<\/span><span>DigestValue<\/span><span>&gt;<\/span><\/p>\n<p><span>&lt;\/<\/span><span>Reference<\/span><span>&gt;&lt;\/<\/span><span>SignedInfo<\/span><span>&gt;&lt;<\/span><span>SignatureValue<\/span><span>&gt;&lt;\/<\/span><span>SignatureValue<\/span><span>&gt;<\/span><\/p>\n<p><span>&lt;<\/span><span>KeyInfo<\/span><span>&gt;&lt;<\/span><span>X509Data<\/span><span>&gt;&lt;<\/span><span>X509Certificate<\/span><span>&gt;&lt;\/<\/span><span>X509Certificate<\/span><span>&gt;<\/span><\/p>\n<p><span>&lt;\/<\/span><span>X509Data<\/span><span>&gt;&lt;\/<\/span><span>KeyInfo<\/span><span>&gt;&lt;\/<\/span><span>Signature<\/span><span>&gt;<\/span><\/p>\n<p><span>&lt;<\/span><span>RoleDescriptor<\/span><span> <\/span><span>xsi:type<\/span><span>=<\/span><span>&#8220;fed:SecurityTokenServiceType&#8221;<\/span><span> <\/span><span>protocolSupportEnumeration<\/span><span>=<\/span><span>&#8220;http:\/\/docs.oasis-open.org\/wsfed\/federation\/200706&#8221;<\/span><span> <\/span><span>xmlns:xsi<\/span><span>=<\/span><span>&#8220;http:\/\/www.w3.org\/2001\/XMLSchema-instance&#8221;<\/span><span> <\/span><span>xmlns:fed<\/span><span>=<\/span><span>&#8220;http:\/\/docs.oasis-open.org\/wsfed\/federation\/200706&#8221;<\/span><span>&gt;<\/span><\/p>\n<p><span>&lt;<\/span><span>KeyDescriptor<\/span><span> <\/span><span>use<\/span><span>=<\/span><span>&#8220;signing&#8221;<\/span><span>&gt;&lt;<\/span><span>KeyInfo<\/span><span> <\/span><span>xmlns<\/span><span>=<\/span><span>&#8220;http:\/\/www.w3.org\/2000\/09\/xmldsig#&#8221;<\/span><span>&gt;<\/span><\/p>\n<p><span>&lt;<\/span><span>X509Data<\/span><span>&gt;&lt;<\/span><span>X509Certificate<\/span><span>&gt;&lt;\/<\/span><span>X509Certificate<\/span><span>&gt;&lt;\/<\/span><span>X509Data<\/span><span>&gt;<\/span><\/p>\n<p><span>&lt;\/<\/span><span>KeyInfo<\/span><span>&gt;&lt;\/<\/span><span>KeyDescriptor<\/span><span>&gt;&lt;<\/span><span>fed:ClaimTypesOffered<\/span><span>&gt;<\/span><\/p>\n<\/div>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2><span class=\"ez-toc-section\" id=\"24_SAML_Group_Import\"><\/span>2.4. SAML Group Import<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; header_5_line_height=&#8221;1.5em&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p>To be able to use the internal company groups, you should export the AD groups you want to import once to a .CSV file and import them into OVIO in the administration. The desired authorizations per department are then maintained here once. The user assignments are then made automatically when logging in via the SAML SSO and the group memberships are resolved and saved. This ensures that your OVIO Cloud always remains clean and free of imported &#8220;garbage&#8221; such as inactive users, Exchange mailboxes, private groups, etc.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p>An example of the fields OVIO expects for a group import. The separator should be a ;.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<table border=\"1\" style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td width=\"80\" style=\"width: 14.5695%\">\n<p>id<\/p>\n<\/td>\n<td width=\"88\" style=\"width: 21.1921%\">\n<p>displayName<\/p>\n<\/td>\n<td width=\"73\" style=\"width: 19.2053%\">\n<p>groupType<\/p>\n<\/td>\n<td width=\"117\" style=\"width: 28.0353%\">\n<p>membershipType<\/p>\n<\/td>\n<td width=\"48\" style=\"width: 16.9978%\">\n<p>source<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"34\" style=\"width: 14.5695%\">\n<p>mail<\/p>\n<\/td>\n<td width=\"106\" style=\"width: 21.1921%\">\n<p>securityEnabled<\/p>\n<\/td>\n<td width=\"84\" style=\"width: 19.2053%\">\n<p>mailEnabled<\/p>\n<\/td>\n<td width=\"128\" style=\"width: 28.0353%\">\n<p>isAssignableToRole<\/p>\n<\/td>\n<td width=\"160\" style=\"width: 16.9978%\">\n<p>onPremisesSyncEnabled<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_post_nav in_same_term=&#8221;on&#8221; _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_post_nav][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this section we will discuss the SAML integration of OVIO. With this section we can easily integrate our application into your current identity provider. This leads to an automatic import, user maintenance and assignment of authorizations in company-based groups \/ departments.1. SAML ProvidersAmazon AWS Identity Google Identity Microsoft Entra OCTA Every other provider that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[4],"tags":[],"class_list":["post-195","post","type-post","status-publish","format-standard","hentry","category-ovio-administrator-guide"],"_links":{"self":[{"href":"https:\/\/helpdesk.ovio365.com\/en-us\/index.php?rest_route=\/wp\/v2\/posts\/195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helpdesk.ovio365.com\/en-us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helpdesk.ovio365.com\/en-us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/helpdesk.ovio365.com\/en-us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helpdesk.ovio365.com\/en-us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=195"}],"version-history":[{"count":5,"href":"https:\/\/helpdesk.ovio365.com\/en-us\/index.php?rest_route=\/wp\/v2\/posts\/195\/revisions"}],"predecessor-version":[{"id":1419,"href":"https:\/\/helpdesk.ovio365.com\/en-us\/index.php?rest_route=\/wp\/v2\/posts\/195\/revisions\/1419"}],"wp:attachment":[{"href":"https:\/\/helpdesk.ovio365.com\/en-us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helpdesk.ovio365.com\/en-us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helpdesk.ovio365.com\/en-us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}