Help configure sso with spring 3.2 - Getting null authentication

I am trying to follow the following sample okta sso project but I keep getting null application after authentication.

The code below returns a null authentication object. This code is in index.jsp…
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();

Have seen similar question but no answer is available

Only difference is that I am running this on Jboss instead of Tomcat, which I do not think it should matter.
Please let me know what I could be doing wrong.

After debugging, I noted that this error message is being thrown…
Endpoint with message binding urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST and URL http://localhost/spring-security-saml2-sample/saml/SSO wasn’t found in local metadata

Hmm, not an expert here, but I think this is a configuration problem.

This github issue, I believe shows the configuration.

Hope this helps,