Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

客户端的yml配置: spring.oauth2.resource.jwt.key-uri作用是什么? #2

Open
fengjunzixian opened this issue Dec 13, 2019 · 3 comments

Comments

@fengjunzixian
Copy link

1 注释了客户端启动不起来,在网上找了下解释说: "解析jwt令牌所需要密钥的地址,",

@fengjunzixian
Copy link
Author

2 学习了下OAUTH2, OAUTH2是一种认证协议,如果单独使用OAUTH做登录,配合存储策略如JWT,REDIS可用于单点登录,也就是说单点登录必须设置存储策略,JWT的单点登录和普通的cas单点登录的优势取舍是什么.

@gitzhang
Copy link

不值得能否不使用keypair?不想使用jwk-set-uri配置

@yumindayu
Copy link

作用是向授权服务器获取公钥,用公钥来解密token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants