SAP Knowledge Base Article - Preview

2593596 - InvalidTokenException: Error in loading the JWT library

Symptom

You are implementing authentication for an application in the HANA XS Advanced or Cloud Foundry environment, but you get the following error message when you access the application via App Router:

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 Cloud Platform for Cloud Foundry
  • SAP HANA Extended Application Services, Advanced Model

Product

SAP Cloud Platform for the Cloud Foundry environment all versions ; SAP HANA, platform edition 2.0

Keywords

bearer approuter xsa , KBA , BC-XS-SEC , UAA and Security for XS engine , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.