<div dir="ltr"><div>Apologies if this is a dumb question, but when you configured the GitHub identity provider in Keycloak, you pointed it to your local GitHub rather than the public one?  With the system properties you listed above, Apicurio will definitely be trying to use your local GitHub when e.g. publishing an API.  At what point are you still having trouble?  Is it when you try to create a linked account or is it when you try to publish an API?</div><div><br></div><div>-Eric</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 22, 2019 at 11:53 AM Gupta, Madhu &lt;<a href="mailto:Madhu.Gupta@uscellular.com">Madhu.Gupta@uscellular.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_-9179840264172726594WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Hi Eric,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Thanks for responding to my request. I configured the Kecloak as per the instructions provided in the URL you shared and I configured the system properties
 as below in standalone-apicurio.xml. But when I start the Apicurio still it is point to public GB.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">&lt;system-properties&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">    &lt;property name=&quot;apicurio.kc.auth.rootUrl&quot; value=&quot;<a href="http://localhost:8080/auth" target="_blank">http://localhost:8080/auth</a>&quot;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">    &lt;property name=&quot;apicurio.kc.auth.realm&quot; value=&quot;apicurio&quot;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">    &lt;property name=&quot;apicurio.hub.storage.jdbc.type&quot; value=&quot;h2&quot;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">    &lt;property name=&quot;apicurio.hub.storage.jdbc.init&quot; value=&quot;true&quot;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">    &lt;property name=&quot;apicurio.hub.github.url&quot; value=&quot;<a href="https://github.uscc.com" target="_blank">https://github.uscc.com</a>&quot;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">    &lt;property name=&quot;apicurio.hub.github.api&quot; value=&quot;<a href="https://api.github.uscc.com" target="_blank">https://api.github.uscc.com</a>&quot;/&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">&lt;/system-properties&gt;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Do I need to change any other settings or clearup any cache to point local GH installation. Once again thanks in advance for your support.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Madhu<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Eric Wittmann [mailto:<a href="mailto:eric.wittmann@redhat.com" target="_blank">eric.wittmann@redhat.com</a>]
<br>
<b>Sent:</b> Friday, June 21, 2019 10:51 AM<br>
<b>To:</b> Gupta, Madhu<br>
<b>Cc:</b> <a href="mailto:apicurio@lists.jboss.org" target="_blank">apicurio@lists.jboss.org</a><br>
<b>Subject:</b> Re: [Apicurio] How to configure to use internally hosted github repository<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">We do not have access to a local GitHub installation in order to test this, which is why we do not have documentation for it.  However, you should be able to use two existing articles in the official Apicurio documentation to help.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Here is the article about how to configure a local GitLab instance:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://apicurio-studio.readme.io/docs/using-a-local-installation-of-gitlab" target="_blank">https://apicurio-studio.readme.io/docs/using-a-local-installation-of-gitlab</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">You&#39;ll obviously want to extrapolate from the information in that article to GitHub instead of GitLab.  To help with that, there is some good information about how to configure the Keycloak side of things here:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://apicurio-studio.readme.io/docs/setting-up-keycloak-for-use-with-apicurio#section-71-enable-github-account-linking" target="_blank">https://apicurio-studio.readme.io/docs/setting-up-keycloak-for-use-with-apicurio#section-71-enable-github-account-linking</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The Apicurio configuration is pretty easy, it&#39;s just setting some system properties:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">apicurio.hub.github.url=<a href="https://github.com" target="_blank">https://github.com</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">apicurio.hub.github.api=<a href="https://api.github.com" target="_blank">https://api.github.com</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The values above are defaults - obviously used for integrating with the public instance of GH.  You&#39;ll want to set BOTH properties to appropriate values for your local instance.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The trickier part is configuring your local Keycloak.  This requires some configuration in Keycloak **AND** some configuration in your local GitHub instance.  The configuration needed is documented in the second link I included above.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Let me know if you run into any issues.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">-Eric<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Fri, Jun 21, 2019 at 11:42 AM Gupta, Madhu &lt;<a href="mailto:Madhu.Gupta@uscellular.com" target="_blank">Madhu.Gupta@uscellular.com</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Hi
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I am currently using Apicurio standalone installation. I would like to use Apicurio to integrate with internally hosted github repository. Please advise how to configure the same.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Thanks,</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12pt"><span style="font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Madhu Gupta</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Apicurio mailing list<br>
<a href="mailto:Apicurio@lists.jboss.org" target="_blank">Apicurio@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/apicurio" target="_blank">https://lists.jboss.org/mailman/listinfo/apicurio</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>

</blockquote></div>