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

使用微软登录,生成的accessTokenUrl中的scope有空格,导致后续uri报错Illegal character in query at index xx #197

Open
w81481708 opened this issue Mar 13, 2024 · 1 comment
Labels
question Further information is requested

Comments

@w81481708
Copy link

使用微软登录,执行login时,生成的accessTokenUrl中的scope部分有空格,且未encode,导致后续报错Illegal character in query at index xxx?是使用方法有问题吗?还是bug,为什么源码中在生成accessTokenUrl时,getScopes传参时选择不enode呢?

微信截图_20240313135156
image
image

@w81481708 w81481708 added the question Further information is requested label Mar 13, 2024
@wuhaiji
Copy link

wuhaiji commented Mar 15, 2024

我用hutool的http工具实现类就没问题
在请求前替换了默认的jdk httpclient 实现就好了,不知道为啥
HttpUtil.setHttp(new com.xkcoding.http.support.hutool.HutoolImpl());

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

No branches or pull requests

2 participants