Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion about/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Following is an index of the features currently covered by CAP, with status and
| [Streaming & Media Types](../guides/providing-services#serving-media-data) | <X/> | <X/> | <X/> |
| [Conflict Detection through _ETags_](../guides/providing-services#etag) | <X/> | <X/> | <X/> |
| [Authentication via JWT](../guides/security/authorization#prerequisite-authentication) | <Na/> | <X/> | <X/> |
| [Basic Authentication](../guides/security/authorization#prerequisite-authentication) | <Na/> | <X/> | <X/> |
| [Mocked Authentication](../guides/security/authorization#prerequisite-authentication) | <Na/> | <X/> | <X/> |


<br>
Expand Down
9 changes: 9 additions & 0 deletions node.js/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ This strategy creates a user that passes all authorization checks. It's meant fo

This authentication strategy uses basic authentication with pre-defined mock users during development.

::: warning Mocked authentication is not suitable for production!
:::

> **Note:** When testing different users in the browser, it's best to use an incognito window, because logon information might otherwise be reused.

**Configuration:** Choose this strategy as follows:
Expand Down Expand Up @@ -254,7 +257,12 @@ If you want to restrict these additional logins, you need to overwrite the defau
}
```

::: note
The pre-defined mock users can be deactivated by using kind `basic` instead of `mocked`.
:::


<!--
### Basic Authentication {#basic }

This authentication strategy uses basic authentication to use mock users during development.
Expand Down Expand Up @@ -295,6 +303,7 @@ You can optionally configure users as follows:
:::

In contrast to [mocked authentication](#mocked), no default users are automatically added to the configuration.
-->


### JWT-based Authentication { #jwt }
Expand Down
Loading