<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">The default client registered in the server has both the implicit and auth code flows supported. The simple web app client is only the authorization code, because it’s a web application. The implicit flow is only for in-browser applications.<div class=""><br class=""></div><div class="">&nbsp;— Justin</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 24, 2016, at 9:14 AM, Michael Furman &lt;<a href="mailto:michael_furman@hotmail.com" class="">michael_furman@hotmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div class=""><div style="margin-top: 0px; margin-bottom: 0px;" class="">Hi Justin,<br class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Thank you for the fast reply!</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">I was able to launch simple-web-app and to perform the authentication.</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Few questions:</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">What flow is enabled in the demo by default (the authorization flow or the implicit flow)?<span class="Apple-converted-space">&nbsp;</span><br class="">Can I change the default flow?<br class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Best regards,</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="">&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span>Michael</div></div><br class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><br class=""><br class=""><div style="" class=""><hr tabindex="-1" style="display: inline-block; width: 1716.953125px;" class=""><div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space">&nbsp;</span>Justin Richer &lt;<a href="mailto:jricher@mit.edu" class="">jricher@mit.edu</a>&gt;<br class=""><b class="">Sent:</b><span class="Apple-converted-space">&nbsp;</span>Tuesday, August 23, 2016 5:31 PM<br class=""><b class="">To:</b><span class="Apple-converted-space">&nbsp;</span>Michael Furman<br class=""><b class="">Cc:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:mitreid-connect@mit.edu" class="">mitreid-connect@mit.edu</a><br class=""><b class="">Subject:</b><span class="Apple-converted-space">&nbsp;</span>Re: [mitreid-connect] mitreid-connect newbie questions</font><div class="">&nbsp;</div></div><div class="">Hi Michael, responses inline.<div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Aug 23, 2016, at 9:23 AM, Michael Furman &lt;<a href="mailto:michael_furman@hotmail.com" class="">michael_furman@hotmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" class="" style="font-style: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;"><pre class="">Hi all,</pre><pre class="">I have started to use the <span class="rphighlightallclass">mitreid-connect project and I am very impressed from the project.</span></pre><pre class="">&nbsp;</pre><pre class="">But I have couple newbie questions.</pre><pre class="">&nbsp;</pre><pre class="">1) I was able to launch the server according to the following instructions:</pre><pre class=""><a id="LPlnk299036" href="https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/wiki/Build-instructions" class="">https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/wiki/Build-instructions</a><br class="">
I can access to the server screen and to see all information.</pre><pre class="">The question how I enable the Client?<br class="">
I was confused from the instructions below: </pre><pre class=""><a href="https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/wiki/Client-configuration" class="">https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/wiki/Client-configuration</a></pre><pre class="">The result of the openid-connect-client package is the jar file.<br class="">
What should I do to enable the OpenID Connect authorization flow (or OpenID Connect implicit flow)?</pre><pre class="">Should I include the openid-connect-client jar file in some war application and to configure OIDCAuthenticationFilter?<br class="">
</pre></div></div></blockquote><div class=""><br class=""></div><div class="">The .jar file you found is a *library* meant to enable OIDC client functionality in a Spring web application. You need to include it and configure it in that application to make it work.</div><br class=""><blockquote type="cite" class=""><div class=""><div id="divtagdefaultwrapper" class="" style="font-style: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;"><pre class="">Do you have an example of WAR with already configured OIDCAuthenticationFilter?<br class=""></pre></div></div></blockquote><div class="">There’s an example client application here:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/mitreid-connect/simple-web-app" class="">https://github.com/mitreid-connect/simple-web-app</a></div><blockquote type="cite" class=""><div class=""><div id="divtagdefaultwrapper" class="" style="font-style: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;"><pre class=""><br class="">
2) What is located in uma-server-webapp?<br class="">
I read the description that it is “Deployable package of the User Managed Access (UMA) server extension to MITREid Connect”.<br class="">
<br class="">
Do you have any additional information?</pre></div></div></blockquote><div class="">This is the User Managed Access (UMA) 1.0 server implementation. The UMA protocol can be found here:</div><div class=""><br class=""></div><div class=""><a href="http://kantarainitiative.org/confluence/display/uma/Home" class="">http://kantarainitiative.org/confluence/display/uma/Home</a></div><blockquote type="cite" class=""><div class=""><div id="divtagdefaultwrapper" class="" style="font-style: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;"><pre class="">&nbsp;</pre><pre class="">Thank you in advance for your help.</pre><pre class="">&nbsp;</pre><pre class="">Best regards,</pre><span class="" style="font-size: 11pt; line-height: 16.866666793823242px; font-family: Calibri, sans-serif;"><span class="">&nbsp;&nbsp;<span class="Apple-converted-space">&nbsp;</span></span>Michael<br class=""><br class=""></span><br class=""></div></div></blockquote><div class=""><br class=""></div><div class="">Hope this helps,</div><div class=""><br class=""></div><div class="">&nbsp;— Justin</div><br class=""><blockquote type="cite" class=""><div class=""><span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; float: none; display: inline !important;">_______________________________________________</span><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;"><span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; float: none; display: inline !important;">mitreid-connect mailing list</span><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;"><a href="mailto:mitreid-connect@mit.edu" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">mitreid-connect@mit.edu</a><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;"><a href="http://mailman.mit.edu/mailman/listinfo/mitreid-connect" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">http://mailman.mit.edu/mailman/listinfo/mitreid-connect</a></div></blockquote></div></div></div></div></div></div></blockquote></div><br class=""></div></body></html>