Debugging SSO - HL Vanilla Community
<main> <article class="userContent"> <div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/CTFPQYHQNYU1/microsoftteams-image-288-29.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/CTFPQYHQNYU1/microsoftteams-image-288-29.png" alt="MicrosoftTeams-image (8).png" height="108" width="1356" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="how-to-troubleshoot-3rd-party-sso-from-your-localhost-setup.">How to troubleshoot 3rd party SSO from your localhost setup.</h2><ol><li>Get the 3rd party SSO configuration from <code class="code codeInline" spellcheck="false" tabindex="0">GDN_UserAuthenticationProvider</code>.</li><li>Insert these information in your <code class="code codeInline" spellcheck="false" tabindex="0">GDN_UserAuthenticationProvider</code> table.</li><li>Enable the proper SSO plugin.</li><li>Edit your <code class="code codeInline" spellcheck="false" tabindex="0">/etc/hosts</code> and add the domain name of the 3rd party like so: <code class="code codeInline" spellcheck="false" tabindex="0">127.0.0.1 forum.3rdpartydomain.com</code><ol><li>Make sure that your web server is configured to handle that domain name. Either have a “default” configuration or add that domain name to the config. (This would be under <code class="code codeInline" spellcheck="false" tabindex="0">server_name</code> for nginx)</li></ol></li><li>Go to <code class="code codeInline" spellcheck="false" tabindex="0">forum.3rdpartydomain.com</code>. (It should show your own local forum)</li></ol><p>You can now login from your localhost setup which means that you can put breakpoints where needed!</p> </article> </main>