Skip to content

Commit 2555e7b

Browse files
authored
Update authentication.adoc
1 parent 218c6b1 commit 2555e7b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/security/authentication.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The cookie authentication mechanism can function using three different options:
7070
This option is recommended if you also want to allow clients to authenticate via JWTs sent in the `Authorization` header (not stored in a cookie).
7171

7272
```
73-
/tokenBasicAuthMechanism/enabled->true|false
73+
/tokenBasicAuthMechanism/enabled->true
7474
/jwtAuthenticationMechanism/enabled->true
7575
/jwtTokenManager/enabled->true
7676
/rndTokenManager/enabled->false
@@ -112,6 +112,7 @@ Activates when a URL includes the query parameter `?set-auth-cookie` and a user
112112
```yaml
113113
authCookieSetter:
114114
enabled: false # Not enabled by default
115+
secure: true # true if only allow setting the cookie on https
115116
name: rh_auth # The name of the cookie to be set
116117
domain: localhost # The domain within which the cookie is valid
117118
path: / # The cookie path, applicable to the entire domain
@@ -377,4 +378,4 @@ WWW-Authenticate: Digest realm="RESTHeart Realm",domain="localhost",nonce="Toez7
377378

378379
In browsers this leads to the login popup windows. In our web applications we might want to redirect to a fancy login page when the 401 Unauthorized response code.
379380

380-
To avoid the popup window just add to the request the `noauthchallenge` query parameter or the header `No-Auth-Challenge`. This will skip the challenge response.
381+
To avoid the popup window just add to the request the `noauthchallenge` query parameter or the header `No-Auth-Challenge`. This will skip the challenge response.

0 commit comments

Comments
 (0)