SAP Knowledge Base Article - Preview

2593596 - InvalidTokenException: Error in loading the JWT library

Symptom

You are implementing authentication for a Java application on XS Advanced or Cloud Foundry environment, but you get the following error message 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

SAP BTP, Cloud Foundry runtime and environment all versions ; SAP HANA, platform edition 2.0

Keywords

bearer, approuter, xsa, scp, cf, btp, sap cp, xssec, java buildpack, spring, java security , 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.