Skip to content
This repository has been archived by the owner on Jan 1, 2022. It is now read-only.

无法获得 refresh_token #25

Closed
PaddyLin-xum opened this issue Sep 2, 2020 · 6 comments
Closed

无法获得 refresh_token #25

PaddyLin-xum opened this issue Sep 2, 2020 · 6 comments
Labels
question Common questions upstream Upstream issue wontfix This will not be worked on

Comments

@PaddyLin-xum
Copy link

{"error":"invalid_grant","error_description":"AADSTS70000: The provided value for the 'code' parameter is not valid. The code has expired.\r\nTrace ID: 7da0f588-0389-4720-a1a4-7858b95b5000\r\nCorrelation ID: 397ffa74-99eb-4e86-ba8e-cf91ab3783a5\r\nTimestamp: 2020-09-02 09:11:20Z","error_codes":[70000],"timestamp":"2020-09-02 09:11:20Z","trace_id":"7da0f588-0389-4720-a1a4-7858b95b5000","correlation_id":"397ffa74-99eb-4e86-ba8e-cf91ab3783a5","error_uri":"https://login.microsoftonline.com/error?code=70000

@spencerwooo
Copy link
Owner

The provided value for the 'code' parameter is not valid. The code has expired.

请仔细看 API 返回的报错信息。

@spencerwooo spencerwooo added question Common questions upstream Upstream issue labels Sep 2, 2020
@spencerwooo spencerwooo changed the title 无法获得refresh_token 无法获得 refresh_token Sep 2, 2020
@PaddyLin-xum
Copy link
Author

还是无法解决,换个号也没用

@spencerwooo
Copy link
Owner

@PaddyLin-xum 这里出现的问题是你使用 Microsoft Graph API Auth 这个工具在 4. Authorize for code 步骤中获取到 code 后,没有及时进行下一步请求导致 code 过期,和更换账号没有任何关系。

@PaddyLin-xum
Copy link
Author

可是我立马下一步了呀,这里指的及时是什么,求指教

@spencerwooo
Copy link
Owner

我不知道你怎么操作导致 code 过期的,你试过我在这里提到的这个办法吗:issue #13

@stale
Copy link

stale bot commented Sep 11, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Sep 11, 2020
@stale stale bot closed this as completed Sep 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Common questions upstream Upstream issue wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants