SAP Knowledge Base Article - Preview

2593596 - InvalidTokenException: Error in loading the JWT library


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: Error in loading the JWT library
YYYY-MM-DDTHH:MM:SS [APP/PROC/WEB/0] OUT at<init>( ~[security-commons-X.YY.Z.jar!/:na]



  • SAP Cloud Platform for Cloud Foundry
  • SAP HANA Extended Application Services, Advanced Model


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


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.