<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Inconsolata;">
<p>Hi Justin,<br>
</p>
<p><br>
</p>
<p>I think I have a better understanding now. &nbsp;Since I couldn't create new System Scopes (gives me a blank page... which from GitHub appears to have been fixed on a different branch, but not on the ldap version&nbsp;<a href="https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/675" id="lnk976622">https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/675</a>),
 I was creating the scopes on the specific client. &nbsp;Since the application requires those scopes, that was the only way to get it pass the the &quot;Invalid scope&quot; response. &nbsp;So, it now goes a little further, but it chokes when it doesn't find them as system scopes.&#8203;<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-size:13px; font-family:Tahoma">
<div class="BodyFragment"><font size="2">
<div class="PlainText">Felipe Polo-Wood<br>
Sr. Manager<br>
Clinical Applications Technical Services</div>
<div class="PlainText">Office: &#43;1.919.668.2268<br>
Mobile: &#43;1.919.741.4213<br>
</div>
</font></div>
</div>
</div>
</div>
<div dir="ltr" style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Justin P Richer &lt;jricher@mit.edu&gt;<br>
<b>Sent:</b> Tuesday, December 09, 2014 2:43 PM<br>
<b>To:</b> Felipe Polo-Wood; mitreid-connect@mit.edu<br>
<b>Subject:</b> RE: Null Pointer Exception</font>
<div>&nbsp;</div>
</div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">That's very strange, that particular line is dealing with the system scopes, which shouldn't be null at all by there. If anything, they should be an empty set, and it should pass
 through. Please file an issue with the main project and we'll look into the details and see if we can replicate it.<br>
<br>
&nbsp;-- Justin<br>
<br>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF857316" style="direction:ltr"><font face="Tahoma" color="#000000" size="2"><b>From:</b> mitreid-connect-bounces@mit.edu [mitreid-connect-bounces@mit.edu] on behalf of Felipe Polo-Wood [felipe.polowood@duke.edu]<br>
<b>Sent:</b> Tuesday, December 09, 2014 2:01 PM<br>
<b>To:</b> mitreid-connect@mit.edu<br>
<b>Subject:</b> [mitreid-connect] Null Pointer Exception<br>
</font><br>
</div>
<div></div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Inconsolata">
<div dir="ltr" style="color:rgb(33,33,33)">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Inconsolata">
<div dir="ltr" style="color:rgb(33,33,33)">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Inconsolata">
<p>&#8203;We have set up the ldap-openid-connect-server for testing and I am able to login directly, but it is failing to authenticate my client. &nbsp;The following URL, brings up the credentials screen, but then after the login it throws an Exception.<br>
</p>
<p><br>
</p>
<p></p>
<p><a href="http://vml-catstools2:8080/ldap-openid-connect-server/authorize?client_id=OnRampTestClient&amp;redirect_uri=smartapp://callback&amp;scope=launch/patient%20user/*.*%20patient/*.read%20openid%20profile&amp;response_type=code&amp;state=4D640684" id="lnk495922" target="_blank">http://vml-catstools2:8080/ldap-openid-connect-server/authorize?client_id=OnRampTestClient&amp;redirect_uri=smartapp://callback&amp;scope=launch/patient%20user/*.*%20patient/*.read%20openid%20profile&amp;response_type=code&amp;state=4D640684</a><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>incluying relevant lines:<br>
</p>
<pre>java.lang.NullPointerException
        org.mitre.oauth2.web.OAuthConfirmationController.confimAccess(OAuthConfirmationController.java:154)
        org.mitre.oauth2.web.OAuthConfirmationController$$FastClassByCGLIB$$608f3ba8.invoke(&lt;generated&gt;)
        org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698)
        org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)
        org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631)
        org.mitre.oauth2.web.OAuthConfirmationController$$EnhancerByCGLIB$$151ff338.confimAccess(&lt;generated&gt;)&#8203;<br></pre>
<p><br>
</p>
<p>I have played with the settings in the &quot;Manage Clients&quot; screen, but without documentation, it is hard to know what to do there... but I keep getting this error. &nbsp;Is this an error with the LDAP configuration?<br>
</p>
<p><br>
</p>
<p>I appreciate your help.<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-size:13px; font-family:Tahoma">
<div class="BodyFragment"><font size="2">
<div class="PlainText">Felipe Polo-Wood<br>
</div>
<div class="PlainText">Office: &#43;1.919.668.2268<br>
Mobile: &#43;1.919.741.421<br>
</div>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>