Skip to content

Commit

Permalink
eliminate passport with cds 7.5 (#573)
Browse files Browse the repository at this point in the history
eliminate passport

Co-authored-by: René Jeglinsky <[email protected]>
Co-authored-by: sjvans <[email protected]>
  • Loading branch information
3 people authored Dec 14, 2023
1 parent 89c9d3f commit 547120a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions node.js/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,6 @@ In contrast to [mocked authentication](#mocked), no default users are automatica
This is the default strategy used in production. User identity, as well as assigned roles and user attributes, are provided at runtime, by a bound instance of the ['User Account and Authentication'](https://help.sap.com/products/BTP/65de2977205c403bbc107264b8eccf4b/419ae2ef1ddd49dca9eb65af2d67c6ec.html) service (UAA). This is done in form of a JWT token in the `Authorization` header of incoming HTTP requests.
**Prerequisites:** You need to add [passport](https://www.passportjs.org/) to your project:
```sh
npm add passport
```
**Prerequisites:** You need to add [@sap/xssec](https://help.sap.com/docs/HANA_CLOUD_DATABASE/b9902c314aef4afb8f7a29bf8c5b37b3/54513272339246049bf438a03a8095e4.html#loio54513272339246049bf438a03a8095e4__section_atx_2vt_vt) to your project:
```sh
npm add @sap/xssec
Expand All @@ -328,11 +323,6 @@ npm add @sap/xssec
Authentication kind `xsuaa` is a logical extension of kind [`jwt`](#jwt) that additionally offers access to SAML attributes through `req.user.attr` (for example, `req.user.attr.familyName`).
**Prerequisites:** You need to add [passport](https://www.passportjs.org/) to your project:
```sh
npm add passport
```
**Prerequisites:** You need to add [@sap/xssec](https://help.sap.com/docs/HANA_CLOUD_DATABASE/b9902c314aef4afb8f7a29bf8c5b37b3/54513272339246049bf438a03a8095e4.html#loio54513272339246049bf438a03a8095e4__section_atx_2vt_vt) to your project:
```sh
npm add @sap/xssec
Expand Down Expand Up @@ -363,11 +353,6 @@ This is an additional authentication strategy using the [Identity Authentication
To allow forwarding to remote services, JWT tokens issued by IAS service don't contain authorization information. In particular, no scopes are included. Closing this gap is up to you as application developer.
**Prerequisites:** You need to add [passport](https://www.passportjs.org/) to your project:
```sh
npm add passport
```
**Prerequisites:** You need to add [@sap/xssec](https://help.sap.com/docs/HANA_CLOUD_DATABASE/b9902c314aef4afb8f7a29bf8c5b37b3/54513272339246049bf438a03a8095e4.html#loio54513272339246049bf438a03a8095e4__section_atx_2vt_vt) to your project:
```sh
npm add @sap/xssec
Expand Down

0 comments on commit 547120a

Please sign in to comment.