WSO2 Identity Server-从JWT访问令牌中删除“内部/所有人”

时间:2019-01-23 19:03:50

标签: wso2 wso2is

https://docs.wso2.com/display/IS530/Configuring+Roles+and+Permissions

本文档提到分配给所有WSO2用户的Downloading from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar Downloaded from central: https://repo.maven.apache.org/maven2/net/sf/jtidy/jtidy/r938/jtidy-r938.jar (250 kB at 438 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.11/commons-codec-1.11.jar (335 kB at 530 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/jdom/jdom2/2.0.6/jdom2-2.0.6.jar (305 kB at 430 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar (500 kB at 595 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/xstream/xstream/1.4.11.1/xstream-1.4.11.1.jar (621 kB at 671 kB/s) [INFO] No artifact parameter specified, using 'org.apache.maven:standalone-pom:pom:1' as project. [INFO] /Users/arai/.m2/repository [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.540 s [INFO] Finished at: 2019-01-23T13:57:54-05:00 [INFO] ------------------------------------------------------------------------ 角色。我返回了JWT令牌中的角色,但我不希望Internal/everyone角色出现在我的令牌中。这可能吗?

以下示例:

Internal/everyone

我不希望在我的JWT中返回这个{ ... "roles": [ "Internal/everyone", ], ... } 角色。

0 个答案:

没有答案