<style>p { margin: 0; }span.fr-emoticon.fr-emoticon-img { background-repeat: no-repeat !important; font-size: inherit; height: 1em; width: 1em; min-height: 20px; min-width: 20px; display: inline-block; margin: -0.1em 0.1em 0.1em; line-height: 1; vertical-align: middle; } span.fr-emoticon { font-weight: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; display: inline; line-height: 0; } blockquote { border-left: solid 2px #5e35b1; color: #5e35b1; margin-left:0; padding-left:5px;}blockquote blockquote{ border-color: #00bcd4; color: #00bcd4;}blockquote blockquote blockquote{ border-color: #43a047; color: #43a047;} table.grid{ border-collapse: collapse;} table.grid td, table.grid th { border: 1px solid #ddd;} .fr-fic.fr-dib{ display: block; margin: 5px auto;}.fr-fic.fr-dib.fr-fir{ text-align: right; margin: 5px 0 5px auto;}.fr-fic.fr-dib.fr-fil{ text-align: left; margin: 5px auto 5px 0;}</style><p>This outlines how to set up one customer to have multiple new web portals with different branding on each for <strong>On-Prem Customers</strong></p>
<style>p { margin: 0; }span.fr-emoticon.fr-emoticon-img { background-repeat: no-repeat !important; font-size: inherit; height: 1em; width: 1em; min-height: 20px; min-width: 20px; display: inline-block; margin: -0.1em 0.1em 0.1em; line-height: 1; vertical-align: middle; } span.fr-emoticon { font-weight: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; display: inline; line-height: 0; } blockquote { border-left: solid 2px #5e35b1; color: #5e35b1; margin-left:0; padding-left:5px;}blockquote blockquote{ border-color: #00bcd4; color: #00bcd4;}blockquote blockquote blockquote{ border-color: #43a047; color: #43a047;} table.grid{ border-collapse: collapse;} table.grid td, table.grid th { border: 1px solid #ddd;} .fr-fic.fr-dib{ display: block; margin: 5px auto;}.fr-fic.fr-dib.fr-fir{ text-align: right; margin: 5px 0 5px auto;}.fr-fic.fr-dib.fr-fil{ text-align: left; margin: 5px auto 5px 0;}</style><ol><li>Copy the \WebApp\portal\ directory into a new directory in the \WebApp\ folder. E.g. \WebApp\portal2</li><li id="isPasted" style="font-weight: bold;"><strong>Copy the appsettings.json file from the \Web App\ directory into the new directory, if it does not already exist.</strong><ol><li id="isPasted" style="font-weight: bold;"><strong>This will have the same auth and api URL as your main webapp appsettings file</strong></li></ol></li><li>Create a new site from this new portal directory in IIS. </li><li>Import a certificate into IIS that covers the new portal URL, if one is not already installed.</li><li>Create a HTTPS binding on the new portal site, selecting the covering certificate.</li><li>In the web app - Go to Config > Integrations > Halo API > View Applications. Add a New Application with the following setup. Also ensure that "Allow Agent Logins" is switched to "no".</li></ol><p style="margin-left: 40px;">Authorisation Method = Authorisation Code.</p><p style="margin-left: 40px;">Login Redirect URL = The new web portal url/portal/auth (e.g <a data-fr-linked="true" href="https://support.haloitsm.com/portal/auth">https://support.haloitsm.com/portal/auth</a>)</p><p style="margin-left: 40px;">Logout Redirect URL = The new web portal url/portal/ (e.g <a data-fr-linked="true" href="https://support.haloitsm.com/portal/">https://support.haloitsm.com/portal/</a>)</p><p style="margin-left: 40px;">Permissions = all</p><p style="margin-left: 40px;"><br></p><p style="margin-left: 40px;">You can now setup branding on this page if using a multi-tenant organization structure by using the selections at the bottom of the page. </p><p style="margin-left: 40px;"><br></p><p style="margin-left: 20px;">5. Open the appsettings.json file you created earlier. Insert a line for "clientid_portal_override" and set it to your client id. Save. It should look similar to this. The api and authentication root values should not be changed.</p><p style="margin-left: 20px;"><br></p><blockquote><p style="margin-left: 20px;">{</p><p style="margin-left: 20px;"> "api_root": "https://support.haloitsm.com/api",</p><p style="margin-left: 20px;"> "authentication_root": "https://support.haloitsm.com/auth",</p><p style="margin-left: 20px;"> "clientid_portal_override": "345e4af3-cbf5-42bf-8919-fe513ee36150"</p><p style="margin-left: 20px;">}</p></blockquote><p><br></p><p>The new portal should now work.</p>