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

无法正常使用 Type 2 授权码 + PKCE 模式 #247

Closed
1 task
charlotte-xiao opened this issue Dec 19, 2022 · 0 comments
Closed
1 task

无法正常使用 Type 2 授权码 + PKCE 模式 #247

charlotte-xiao opened this issue Dec 19, 2022 · 0 comments

Comments

@charlotte-xiao
Copy link

charlotte-xiao commented Dec 19, 2022

反馈模版

问题分类

  • 步骤说明不清晰/看不懂

请具体描述你的问题

https://docs.authing.cn/v2/apn/more-oidc-tests/type2.html

我尝试使用Type 2 授权码 + PKCE 模式进行测试测试

https://gchq.github.io/CyberChef/#recipe=SHA2('256',64,160)To_Base64('A-Za-z0-9-_')&input=WlROaU1HTTBOREk1T0daak1aVE5pTUdNME5ESTVPR1pqTVpUTmlNR00wTkRJNU9HWmpNWlROaU1HTTBOREk1T0daak0

code_challenge: ZTNiMGM0NDI5OGZjMZTNiMGM0NDI5OGZjMZTNiMGM0NDI5OGZjMZTNiMGM0NDI5OGZjM
code_verifier: NWQxYjJhNTFlMGVmMzQ2OTFiMjBjMGIwN2FmYjJkYzk2NzQ3NzljZjBhYzU2MzZiNjdjODljNzRhZTFjMWY1Yw
code_challenge_method: S256

但是获取token的时候,返回这样的消息
{
"error": "invalid_grant",
"error_description": "code_verifier 验证失败"
}
希望能给予具体生成code_challenge的hash和base64编码的例子(我不知道是生成过程中哪一步出了问题)

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

1 participant