Skip to content

Commit

Permalink
docs: move cap authentication outside of the multiremote tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Siolto committed Feb 14, 2024
1 parent 04994c4 commit fda2317
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,10 @@ capabilities: {
}
```

<!-- tabs:end -->

#### CAP Authentication (only during development!)

During development it is common to use basic authentication to mock users. In contrast to deployed applications we have to authenticate ourself directly to the exposed OData enpoints and not to the application itself. For that reason you have to configure the `basicAuthUrls` which should point to the OData `$metadata`.

```js
Expand All @@ -356,10 +359,8 @@ capabilities: {
}
}
```
If you have multiple OData endpoints you have to declare every single OData endpoint in the `basicAuthUrls` array.

<!-- tabs:end -->

If you have multiple OData endpoints you have to declare every single OData endpoint in the `basicAuthUrls` array.

## Credentials

Expand Down

0 comments on commit fda2317

Please sign in to comment.