pcf-jwt-verify
This Plugin Requires
- NodeJS Runtime
Features
- this repo is a fork of azure-jwt-verify that is changed.
- Verify JWT Token issued by PCF
Install Plugin
npm install --save pcf-jwt-verify
Initialize module
var pcfJWT = ;
Configuration and the JWT to verify
var jwtToken = "YOUR_JWT_TOKEN_TO_VERIFY"; // You can find this token after logging in to pcf ssoconst config = JWK_URI: "" ISS: "" AUD: "";
- JWK_URI and the ISS(Issuer) can be obtained from the metadata endpoint of the policies created in the PCF tenant.
- AUD(Audience) is the Client ID of the application accessing the tenant.
Verify Function
azureJWT