AnsweredAssumed Answered

JWT Integration with R12.8 SSO

Question asked by sandeep.banala on Feb 6, 2019

Trying to integrate JWT Auth Scheme to exchange JWT token with SMSESSION , was able to validate the JWT token with HMAC shared secret and pull the sub which is the uid to the backend LDAP. While Authenticating the uid it is throwing below error.

 

******JWT Token is Valid*****

****User is disambiguated as:##### *****

*****SmJWTAuthScheme:, [null]

*****java.lang.NullPointerException*****

      at java.util.Date.getMillisOf(Date.java:958)

        at java.util.Date.before(Date.java:917)

        at com.ca.sm.jwtauth.SMJWTResolver.validateJwtContext(SMJWTResolver.java:35)

        at com.ca.sm.jwtauth.SmJWTAuthScheme.disambiguateUser(SmJWTAuthScheme.java:174)

        at com.ca.sm.jwtauth.SmJWTAuthScheme.authenticate(SmJWTAuthScheme.java:86)

        at com.netegrity.policyserver.smapi.SmAuthenticationContext.authenticate(SmAuthenticationContext.java:289)

 

Its giving Auth Attempt Failed and the user is present in Ldap ,able to view the contents from user directory tab.

Outcomes