oauth2单点登录 通过header中的 Authorization 进行认证如何实现
本帖最后由 andy61 于 2023-2-10 14:06 编辑1.获取认证服务器code:
https://XXX.com/oauth/authorize?response_type=code&client_id=<clientID>&scope=openid+profile&redirect_uri=<URL>
2 根据code获取token
curl https://XXX.com/curl -G https://g1openid.crcc.cn/oauth/t ... =authorization_code"&"code=<授权码>"&"redirect_uri=<URL> \
-H "Authorization:Basic Base64(<clientID>:<clientSecret>)"
其中第二部使用 header中的 Authorization 进行认证的,在O2OA中应该如何实现?
相关代码修修正并增加 header方式的配置
在 gitee中pull request了 oauth2问题修复与增加Header方式认证 感谢分享
页:
[1]