<div dir="ltr">Yep, that sounds good,<div><br></div><div>the configuration screen can be called out from Menu directly (alongside Account Management and Log out options)?</div><div><br></div><div>I guess a submenu (Configuration &gt; Keycloak) or a screen with a link to the Keycloak configuration would be a best fit.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 19, 2014 at 11:07 AM, Bruno Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Morning my friend, I added a description with some simple rules at<br>
AGPUSH-1111. Quoting here for discussion:<br>
<br>
To decouple UPS from Keycloak in separated servers a configuration<br>
interface must be built to generate the appropriate JSON file on the<br>
fly, during the configuration.<br>
<br>
Some rules must be respected:<br>
<br>
- First time configuration<br>
<br>
If the configuration is the first time, just prompt user with the<br>
configuration interface built buy Andres Galante.<br>
<br>
- After the URL configuration<br>
<br>
If the configuration was already provided and the admin must change it,<br>
he must be logged in to change. Otherwise, change to other Keycloak<br>
server won&#39;t be allowed<br>
<br>
Does it make any sense for you?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 2014-11-19, Lukáš Fryč wrote:<br>
&gt; One more question to configuration screen (as I&#39;m not aware it was<br>
&gt; discussed yet),<br>
&gt;<br>
&gt; do we allow users to reconfigure Keycloak instance once it is already in<br>
&gt; use via the configuration screen?<br>
&gt;<br>
&gt; This would be handy if someone installs UPS with defaults and later decides<br>
&gt; to use standalone Keycloak.<br>
&gt;<br>
&gt;<br>
&gt; This would make the things messy /wrt evidence of who created what<br>
&gt; application, but maybe a warning that this information will be lost should<br>
&gt; be okay?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Nov 18, 2014 at 8:55 PM, Bruno Oliveira &lt;<a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Help is always welcome. Feel free to create sub-tasks here: AGPUSH-1047<br>
&gt; &gt;<br>
&gt; &gt; Thank you Lukas.<br>
&gt; &gt;<br>
&gt; &gt; On 2014-11-18, Lukáš Fryč wrote:<br>
&gt; &gt; &gt; This seems that makes for pretty good User Experience...<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; What about &quot;Built-in&quot; Keycloak instead of Default?<br>
&gt; &gt; &gt; I guess &quot;Keycloak URL&quot; will disappear when &quot;Built-in&quot; is chosen, right?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Let me know, Brno, if you would appreciate help with prototyping that UI.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Tue, Nov 18, 2014 at 11:39 AM, Sebastien Blanc &lt;<a href="mailto:scm.blanc@gmail.com">scm.blanc@gmail.com</a>&gt;<br>
&gt; &gt; &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On Tue, Nov 18, 2014 at 11:34 AM, Bruno Oliveira &lt;<a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>&gt;<br>
&gt; &gt; &gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; Question: What would be the best for you generate an ups-realm.json<br>
&gt; &gt; file<br>
&gt; &gt; &gt; &gt;&gt; for download based on the current host or let the developer specify<br>
&gt; &gt; the<br>
&gt; &gt; &gt; &gt;&gt; redirect URL?<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; I would say, let&#39;s use the current host, like we do when we generate<br>
&gt; &gt; the<br>
&gt; &gt; &gt; &gt; code snippets examples.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; I&#39;m thinking about it<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; <a href="https://github.com/abstractj/aerogear-unifiedpush-server/commit/db7639566e75f01a8cc79ff18f22daa61cc9cb30#diff-b8df82f22499b0118c37e0e363c4342aR80" target="_blank">https://github.com/abstractj/aerogear-unifiedpush-server/commit/db7639566e75f01a8cc79ff18f22daa61cc9cb30#diff-b8df82f22499b0118c37e0e363c4342aR80</a><br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; On 2014-11-17, Matthias Wessendorf wrote:<br>
&gt; &gt; &gt; &gt;&gt; &gt; On Mon, Nov 17, 2014 at 5:17 PM, Matthias Wessendorf &lt;<br>
&gt; &gt; <a href="mailto:matzew@apache.org">matzew@apache.org</a><br>
&gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt; On Mon, Nov 17, 2014 at 5:13 PM, Bruno Oliveira &lt;<br>
&gt; &gt; <a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; Good morning amazing people.<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; While working on AGPUSH-1047, I was wondering if would make<br>
&gt; &gt; sense on<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; having a configuration page before users getting started.<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt; you speak out of my mind, I thought about the same in the train,<br>
&gt; &gt; when<br>
&gt; &gt; &gt; &gt;&gt; I<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt; saw you changes on GH (the URL replacements to KC and KC.js).<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt; We somehow should have a dialog right after installation, that<br>
&gt; &gt; asks<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt; &quot;default&quot; or &quot;custom&quot; KC server etc<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; where<br>
&gt; &gt; &gt; &gt;&gt; &gt; * default would be -&gt; KC and UPS on same server;<br>
&gt; &gt; &gt; &gt;&gt; &gt; custom: Provide URL for KC server<br>
&gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; I thinking about the current problem on decoupling our server<br>
&gt; &gt; from<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; Keycloak[1] and OpenShift.<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; What is the current proposal for the initial setup?<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; 1. Developer create an UPS instance on OpenShift<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; 2. Visit <a href="https://myups-abstractj.rhcloud.com/ag-push" target="_blank">https://myups-abstractj.rhcloud.com/ag-push</a><br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; 3. The application automagically redirect to the configuration<br>
&gt; &gt; page<br>
&gt; &gt; &gt; &gt;&gt; with<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; options to skip or enter the URL for the Keycloak server.<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; 4. App changes the keycloak.json/ups-realm.json file based on<br>
&gt; &gt; the URL<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; provided.<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; Does it make sense?<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt; yes, it absolutely does!<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; [1] -<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; <a href="https://github.com/abstractj/aerogear-unifiedpush-server/commit/db7639566e75f01a8cc79ff18f22daa61cc9cb30#diff-f2f2799554171f7ce321785716b71244R3" target="_blank">https://github.com/abstractj/aerogear-unifiedpush-server/commit/db7639566e75f01a8cc79ff18f22daa61cc9cb30#diff-f2f2799554171f7ce321785716b71244R3</a><br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; --<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; abstractj<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; PGP: 0x84DC9914<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; _______________________________________________<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; aerogear-dev mailing list<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt; --<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt; Matthias Wessendorf<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt; &gt; &gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; --<br>
&gt; &gt; &gt; &gt;&gt; &gt; Matthias Wessendorf<br>
&gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; &gt; &gt; &gt;&gt; &gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; &gt; &gt; &gt;&gt; &gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt;&gt; &gt; aerogear-dev mailing list<br>
&gt; &gt; &gt; &gt;&gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt; &gt; &gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; --<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; abstractj<br>
&gt; &gt; &gt; &gt;&gt; PGP: 0x84DC9914<br>
&gt; &gt; &gt; &gt;&gt; _______________________________________________<br>
&gt; &gt; &gt; &gt;&gt; aerogear-dev mailing list<br>
&gt; &gt; &gt; &gt;&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt; &gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; aerogear-dev mailing list<br>
&gt; &gt; &gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt; &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; aerogear-dev mailing list<br>
&gt; &gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt;<br>
&gt; &gt; abstractj<br>
&gt; &gt; PGP: 0x84DC9914<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; aerogear-dev mailing list<br>
&gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt;<br>
<br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
--<br>
<br>
abstractj<br>
PGP: 0x84DC9914<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></div></div></blockquote></div><br></div>