Java Azure AD OpenId connect gives 302 redirect code
<p>I am new to Azure web application development.
 I am trying to do AD authentication with Java + Tomcat + Spring application according to the Azure <a href="https://azure.microsoft.com/en-in/documentation/articles/active-directory-devquickstarts-webapp-java/" rel="nofollow">documentation</a>.The same code is working fine with my first project.</p>

<p>Now I am trying to follow the same step to create second application.But after login its not going to next page of application.Even though the user information is coming null.And the final URL code is coming 302 code.</p>

<p>Can anyone please help me on this.</p>