You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2020/11/17 03:37:20 UTC

[james-project] 01/06: JAMES-3337 Fixup document the use of JWT

This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 5a644d270956b8da66dcadea277cd0bc01fa3dbc
Author: quanth <hq...@linagora.com>
AuthorDate: Mon Nov 16 18:01:17 2020 +0700

    JAMES-3337 Fixup document the use of JWT
---
 docs/modules/servers/pages/distributed/configure/webadmin.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/modules/servers/pages/distributed/configure/webadmin.adoc b/docs/modules/servers/pages/distributed/configure/webadmin.adoc
index 3e36c4f..a215cb3 100644
--- a/docs/modules/servers/pages/distributed/configure/webadmin.adoc
+++ b/docs/modules/servers/pages/distributed/configure/webadmin.adoc
@@ -79,7 +79,7 @@ One can use OpenSSL to generate a JWT key pair :
 The private key can be used to generate JWT tokens, for instance
 using link:https://github.com/vandium-io/jwtgen[jwtgen]:
 
-    jwtgen -a RS256 -p rs256-4096-private.rsa 4096 -c "sub=bob@domain.tld" -e 3600 -V
+    jwtgen -a RS256 -p rs256-4096-private.rsa 4096 -c "sub=bob@domain.tld" -c "admin=true" -e 3600 -V
 
 This token can then be passed as `Bearer` of the `Authorization` header :
 


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org