Skip to content

Commit

Permalink
fix jwtDecode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorwolf committed Mar 28, 2024
1 parent 2fd1232 commit 6f2c8dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srv/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const xsenv = require("@sap/xsenv");
xsenv.loadEnv();
const JWTStrategy = require("@sap/xssec").JWTStrategy;
const services = xsenv.getServices({ xsuaa: { tags: "xsuaa" } });
const jwtDecode = require("jwt-decode");
const { jwtDecode } = require("jwt-decode");
passport.use(new JWTStrategy(services.xsuaa));
const { executeHttpRequest } = require("@sap-cloud-sdk/http-client");

Expand Down

0 comments on commit 6f2c8dc

Please sign in to comment.