<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 03/09/2015 12:50 PM, Matthias
      Wessendorf wrote:<br>
    </div>
    <blockquote
cite="mid:CAAg5f2RdrtUJrcSXjZ9aRbm19sU6y2Xnj3eq6bOduw_O+Mzxig@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Mon, Mar 9, 2015 at 5:34 PM,
            Summers Pittman <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:supittma@redhat.com"
                target="_blank">supittma@redhat.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
                class="">On 03/09/2015 12:15 PM, Erik Jan de Wit wrote:<br>
                &gt;&gt; Because Facebook and Google are well known for
                not making arbitrary changes to public apis and
                configurations.<br>
                &gt;&gt;<br>
                &gt;&gt; More importantly as an Open Source project
                hitching our code to the configuration of a third party
                proprietary system is terrifyingly bad karma.  Push is
                an exception ONLY because there isn't an equvalent open
                solution which has the same reach to devices.<br>
                &gt; It’s just some configuration, what point does
                oauth2 have when it doesn’t work with Facebook and
                Google.<br>
              </span>/me looks at the shoot and share demo, and the
              gdrive demo.<br>
              Looks like it does work with FB and Google.  Did you have
              a specific<br>
              example in mind?<br>
              <span class="">&gt; The whole point of our libs is to make
                it easy for developers to do these complex things adding
                this config makes it super easy.  I don’t see:
                ”Terrifyingly bad karma” a good reason not to do this.<br>
              </span>Because it is hitching our open source project to
              the largess of<br>
              proprietary service vendors.  If they change THEIR
              configuration and OUR<br>
              libraries break WE look like the bad guys not them for
              starters.<br>
            </blockquote>
            <div><br>
            </div>
            <div>That happened with push (Google's documentation, not
              the APIs) in the past, and may happen again. We reacted
              pretty quick on that one, which is what matters. If we
              would not react, we would look bad.</div>
            <div><br>
            </div>
            <div>Perhaps we can add a statement that the code executes
              against a 3rd party service, that we don't own. That can
              even happen with differen Keycloak versions. However,
              usually actual API changes from the big players are
              usually announced, and it's usually comes with a little
              bit of time to react.</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <br>
              Additionally the only direction this can go is toward
              scope creep. Once<br>
              we have Facebook and Google nothing is stopping
              (rhetorically) from<br>
              adding Facebook, Yahoo, VK, Microsoft, etc.  Now we are
              maintaining 5x<br>
              as many configurations as we were before. </blockquote>
            <div><br>
            </div>
            <div>I'd not add more, out of the blue. But if there is
              demand (from which ever direction), it's time to react on
              that demand, but not before</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"> Who is
              going to monitor those<br>
              APIs and make sure they don't break/get deprecated?  Do we
              cut a release<br>
              because one auth provider changed their config?<br>
              <br>
              Of course we don't because that is the responsibility of
              the app<br>
              developer to make sure their configuration for the
              services they consume<br>
              is up to date.  It is not and should not be our
              responsibility.<br>
              <br>
              I freely admit it is nice and it is convenient but it does
              not belong in<br>
              the project.<br>
            </blockquote>
            <div><br>
            </div>
            <div>Instead, we don't offer any concrete impls for Google
              or Facebook? </div>
          </div>
        </div>
      </div>
    </blockquote>
    Correct<br>
    <blockquote
cite="mid:CAAg5f2RdrtUJrcSXjZ9aRbm19sU6y2Xnj3eq6bOduw_O+Mzxig@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>Or use a complicated and generic API, which may work,
              or not? <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    The API works as long as the service correctly implements and
    documents their OAuth2 parameters.  <br>
    <br>
    I don't see how providing the OAuth2 parameters required by the
    specification we implement makes this a complex API.  It is 2 fields
    (client id and client secret) per client and 5 fields (the various
    endpoints and base urls) per service.  <br>
    <blockquote
cite="mid:CAAg5f2RdrtUJrcSXjZ9aRbm19sU6y2Xnj3eq6bOduw_O+Mzxig@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <span class="im HOEnZb"><br>
                <br>
                &gt;<br>
                &gt;<br>
                &gt; _______________________________________________<br>
                &gt; aerogear-dev mailing list<br>
                &gt; <a moz-do-not-send="true"
                  href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
                &gt; <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                  target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                <br>
                <br>
              </span><span class="im HOEnZb">--<br>
                Summers Pittman<br>
                &gt;&gt;Phone:404 941 4698<br>
                &gt;&gt;Java is my crack.<br>
                <br>
              </span>
              <div class="HOEnZb">
                <div class="h5">_______________________________________________<br>
                  aerogear-dev mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
                  <a moz-do-not-send="true"
                    href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                    target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div class="gmail_signature">Matthias Wessendorf <br>
            <br>
            blog: <a moz-do-not-send="true"
              href="http://matthiaswessendorf.wordpress.com/"
              target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
            sessions: <a moz-do-not-send="true"
              href="http://www.slideshare.net/mwessendorf"
              target="_blank">http://www.slideshare.net/mwessendorf</a><br>
            twitter: <a moz-do-not-send="true"
              href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
aerogear-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Summers Pittman
&gt;&gt;Phone:404 941 4698
&gt;&gt;Java is my crack.
</pre>
  </body>
</html>