Browse Source

[Doc] JWT realm's claims.principal setting is mandatory (#95813)

As said in the title, the setitng is mandatory and does not have a
default.
Yang Wang 2 years ago
parent
commit
046cdcee67
1 changed files with 2 additions and 2 deletions
  1. 2 2
      x-pack/docs/en/security/authentication/jwt-realm.asciidoc

+ 2 - 2
x-pack/docs/en/security/authentication/jwt-realm.asciidoc

@@ -342,8 +342,8 @@ it, while a JWT realm of `access_token` will just ignore it.
 
 `principal`::
 (Required, String) Contains the user's principal (username). The value is
-configurable using the realm setting `claims.principal`. If not set, the value
-defaults to `sub`. You can configure an optional regular expression using the
+configurable using the realm setting `claims.principal`.
+You can configure an optional regular expression using the
 `claims.principal_pattern` to extract a substring.
 
 `groups`::