Configuration issue on R2018x-3dpassport authentication process fails

We had installed the 3Dexpereince R2018x GA platform.All services were working fine.

After an entire application restart, we are facing a strange issue.

-The direct connection to 3DPassport directy is working fine, we are able to login and view profile page.
-But if we connect to 3DDashoard/3DSpace/federated/3DSwym :
1-we are correctly redirected to 3DPassport for authenthication
2-after providing credentials, we are not redirected to the service, but we are redirected to 3DPassport profile page again.

3-Now if we try to access directly to the service (eg:3DDasboard) url, we get a blank page with the text 'ERROR' on left top

Passport logs indicate:

"Error while redirecting authenticated user org.jasig.cas.services.UnauthorizedServiceException: service.not.authorized
at org.jasig.cas.CentralAuthenticationServiceImpl.grantServiceTicket_aroundBody2(CentralAuthenticationServiceImpl.java:205)
at org.jasig.cas.CentralAuthenticationServiceImpl.grantServiceTicket_aroundBody3\\\$advice(CentralAuthenticationServiceImpl.java:57)
at org.jasig.cas.CentralAuthenticationServiceImpl.grantServiceTicket(CentralAuthenticationServiceImpl.java:1)"

Services like internal and 3dnotification, which doesn't require CAS, works well indeed.

We even tried rebuilding the indexes on two tables "servicetickets...."

Is there any way to test/check the CAS ticket generation and authentication or any troubleshooting that can be performed?