[Solved]无法使用,提示Failed to get accesstoken. Maybe refresh_token expired. #15
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
inactive
invalid
question
solved
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: SomeBottle/OdIndex#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
已经阅读须知并且改了权限,但是仍然报这个错误。
折叠图片
已经通过描述的方法获取到了两个token,但是输入以后仍然无法使用
折叠图片
使用的是vultr的vps,也不会存在无法访问GitHub的问题
在手动创建token.php以后报错消失但是变白屏,是不是可以通过手动修改token.php的方法来避开报错?
补充:在使用小工具microsoft-graph-api-auth获取token时,于步骤4. Authorize for code报错:AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '2385e6be-54f6-4b1e-ade6-bcc705563fac'.
已经在Azure Portal里配置相应的URI
手动修改token按理来说效果差不多
不过你的目录内容似乎有点乱
建议新建一个空白目录,只放odproxy.php , index.php , template.html
配置后再试试
依旧报错

data文件夹能够成功创建,应该不是权限的问题
记得打开php报错,这个时候需要些报错信息
已经开启PHP报错
你用的是heymind的小工具获取的token还是beetcb的
heymind的那个已经好久没有维护了
如果最后一步出错了说不定有些问题
在redirectURL验证上
beetcb
已经在返回的json里面看到了accesstoken了
heymind 的小工具报如下错误:
于步骤4. Authorize for code报错:
AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '2385e6be-54f6-4b1e-ade6-bcc705563fac'.
已经在Azure Portal里配置相应的URI
beetcb那个可以用的话就无所谓了,
现在填入配置后还是空白页吗
还有就是我印象中errorreporting E_前缀是忽略对应报错吧
填入refresh_token是报Failed to get accesstoken. Maybe refresh_token expired.这个错误,自己创建token.php是空白
这个错误是程序本身输出的,不是php报错
errorreporting改成E_ALL试一下
实在不行只能在203行后面追加一行
echo $resp;输出请求返回内容看看情况了还是一样,只显示上面的错误
你的php环境是怎么安装的,直接手动编译还是一键安装包
我有点怀疑是openssl问题
用的bt panel的一键安装
改一下128行的$opts试试
原来是:
改成
抱歉我现在在外面打字不太方便
ok了,麻烦你啦
没事,这个地方也是我疏忽了,稍后我会修复一下,解决了就好