Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Ref-guide - JWT: Use correct claim name in example config comments (#2890)

Jasmin Johal64130ec400a1
diff --git a/solr/solr-ref-guide/modules/deployment-guide/pages/jwt-authentication-plugin.adoc b/solr/solr-ref-guide/modules/deployment-guide/pages/jwt-authentication-plugin.adoc
index aec5f269d24..4a5094f6225 100644
--- a/solr/solr-ref-guide/modules/deployment-guide/pages/jwt-authentication-plugin.adoc
+++ b/solr/solr-ref-guide/modules/deployment-guide/pages/jwt-authentication-plugin.adoc
@@ -169,7 +169,7 @@ Let's comment on this config:
<1> Plugin class
<2> Make sure to block anyone without a valid token (this is also the default)
<3> Fetch the user id from another claim than the default `sub`
-<4> Require that the `roles` claim is one of "A" or "B" and that the `dept` claim is "IT"
+<4> Require that the `foo` claim is one of "A" or "B" and that the `dept` claim is "IT"
<5> Require one of the scopes `solr:read`, `solr:write` or `solr:admin`
<6> Only accept RSA algorithms for signatures
<7> Array of issuer configurations