support
jwt
without xsuaa ans xssec, and give user much more features withjose
simply integrate the
cds-common-jwt-support
to you CAP nodejs project
npm i -S cds-common-jwt-support jose
package.json
{
"requires": {
"auth": {
"kind": "common-jwt",
"credentials": {
"alg": "RS256",
"public": {
"spki": "-----BEGIN PUBLIC KEY-----......",
"x509": "X509 format public key",
"pkcs8": "PKCS8 format public key",
}
}
},
"kinds": {
"common-jwt": {
"impl": "cds-common-jwt-support"
}
}
}
}