This repo contains the source code of the Custom JWT Token Generator that is used as a sample in the following article:
- API-M 3.0.0 - https://apim.docs.wso2.com/en/latest/learn/api-gateway/passing-end-user-attributes-to-the-backend/passing-enduser-attributes-to-the-backend-using-jwt/
- API-M 2.6.0 - https://docs.wso2.com/display/AM260/Passing+Enduser+Attributes+to+the+Backend+Using+JWT
You need to just build the project using Maven:
mvn clean install
Copy the generated JAR file from the target folder and place it in <API-M_HOME>/repository/components/lib.