Symptom
After implementing authentication for a Java application on XS Advanced or Cloud Foundry environment, the following error message appears when calling the application:
Invalid Access token
Logs from the application show the following exception:
Caused by: org.springframework.security.oauth2.common.exceptions.InvalidTokenException: Error in loading the JWT library
YYYY-MM-DDTHH:MM:SS [APP/PROC/WEB/0] OUT at com.sap.xs2.security.commons.SAPOfflineTokenServices.<init>(SAPOfflineTokenServices.java:49) ~[security-commons-X.YY.Z.jar!/:na]
Read more...
Environment
SAP HANA Extended Application Services, Advanced model
Product
Keywords
bearer, approuter, xsa, scp, cf, btp, sap cp, xssec, java buildpack, spring, java security, access, token, xsuaa, cloud foundry, java, libraries, Authentication, Authorization, exception , KBA , BC-XS-SEC , UAA and Security for HANA XSA engine , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.