Add jwks.json 说明
parent
b527d21bea
commit
65748db682
13
README.md
13
README.md
|
@ -1,8 +1,6 @@
|
||||||
# spring-oauth-server
|
# spring-oauth-server
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
java config版本
|
|
||||||
|
|
||||||
<strong>Spring与OAuth2/OIDC的整合完整示例. OIDC1.0 + OAuth2.1</strong>
|
<strong>Spring与OAuth2/OIDC的整合完整示例. OIDC1.0 + OAuth2.1</strong>
|
||||||
|
|
||||||
|
|
||||||
|
@ -85,9 +83,8 @@ java config版本
|
||||||
6. 参考<a href="https://gitee.com/shengzhao/spring-oauth-server/blob/config/others/oauth2.1-flow.md">oauth2.1-flow.md</a>(位于others目录)的内容并测试之(也可在浏览器中访问相应的地址,如: http://localhost:8080/ 在界面上操作).
|
6. 参考<a href="https://gitee.com/shengzhao/spring-oauth-server/blob/config/others/oauth2.1-flow.md">oauth2.1-flow.md</a>(位于others目录)的内容并测试之(也可在浏览器中访问相应的地址,如: http://localhost:8080/ 在界面上操作).
|
||||||
|
|
||||||
|
|
||||||
<div>
|
### 配置参数说明
|
||||||
<h4>配置参数说明</h4>
|
说明配置文件<em>application.properties</em>中的主要配置参数。
|
||||||
说明配置文件<em>application.properties</em>中的主要变量。
|
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr><th>参数名</th><th>必须?</th><th>默认值</th><th>说明</th></tr>
|
<tr><th>参数名</th><th>必须?</th><th>默认值</th><th>说明</th></tr>
|
||||||
|
@ -100,9 +97,13 @@ java config版本
|
||||||
<tr><td>spring.application.name</td><td>是</td><td></td><td>应用组件名称</td></tr>
|
<tr><td>spring.application.name</td><td>是</td><td></td><td>应用组件名称</td></tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
### jwks.json 说明
|
||||||
|
|
||||||
|
为了安全使用OIDC, 请在不同的环境使用不同的JWK(即更换 <a href="https://gitee.com/shengzhao/spring-oauth-server/blob/config/src/main/resources/jwks.json">jwks.json</a> 中的文件内容);
|
||||||
|
如何生成新的JWK请参考 <a href="https://gitee.com/shengzhao/spring-oauth-server/blob/config/src/test/java/com/monkeyk/sos/service/JwksTest.java">JwksTest.java</a> 类.
|
||||||
|
|
||||||
## grant_type 介绍
|
## grant_type 介绍
|
||||||
|
|
||||||
说明OAuth2.1支持的grant_type(授权方式)与功能
|
说明OAuth2.1支持的grant_type(授权方式)与功能
|
||||||
|
|
Loading…
Reference in New Issue