<div dir="ltr">So abstractj, corinnekrych, edewit, and I spoke this morning about adding SAML support to the AeroGear client libraries.  This lead to a few observations.<div><br></div><div>1 ) Mobile doesn&#39;t do SAML well (it is an OAuth 2 world)</div><div>2 ) SAML is VERY hard to set up and integrate with. (Multiple servers need to exchange XML Metadata)</div><div>3 ) SAML was designed for hosted web applications, not for the RESTful service web.  (You need at least two servers to have an application use SAML)</div><div>4 ) There aren&#39;t many widely used SAML libraries for mobile.</div><div><br></div><div>From these observations we made the follow decisions.</div><div><br></div><div>1 ) We will extend the authorization libraries to include some kind of solution for SAML.  This will probably rely on a WebView and some form of service broker to manage the authorization tokens.  Passport-saml and KeyCloak both seem to have abilities in this area and we will begin our investigation there.</div><div><br></div><div>2) We will create a docker image which will be a turn key SAML server to test integration with.  Right now we are looking at using Shibboleth for our service provider and identity provider.  Keycloak will be used for communicating with the AG-SAML libraries initially.  Our goal, as always, is to make our libraries as portable as possible.</div><div><br></div><div>3 ) We will provide some kind of server technology/integration plan to serve as a template for adding mobile to existing SAML protected applications.  This will be at the least documentation on <a href="http://aerogear.org">aerogear.org</a> and at the most a docker app based on shibboleth&#39;s SAML server.</div><div><br></div><div>4 ) We will build some demo applications to showcase integrating with a SAML provider.  Because SAML requires configuration on both the client and ID servers our demo may have to be specific to services we can access or host.  SAML makes the workflows to enable OAuth support look like child&#39;s play.</div><div><br></div><div>What do you guys think?</div><div><br></div><div>Summers</div><div><br></div><div>PS Stay tuned for links to JIRAs</div></div>