on 2022 May 18 11:43 AM
How to use SAP Passport for CAP model at UI level so that it is added to header of all service call.
I was following this document =SAP Passport
JavaScript node.js Examples
0. Preparation
use in node.js from nexus npm
add dependency to package.json: example below
{
"name": "passport-js-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"@sap/sapdsrpassport": "http://nexus3.wdf.sap.corp:8081/nexus/repository/deploy.releases.npm/@sap/sapdsrpassport/-/sapdsrpassport-1.0.2.tgz"
}
}
npm install
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
8 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.