English 中文(简体)
我能否在无人参加的工作流程中使用奥安特2服务?
原标题:Can I use an OAuth2 service in a unattended workflow?
  • 时间:2011-09-29 14:16:28
  •  标签:
  • oauth-2.0

OAuth2的流量涉及让用户说这是K.。 退步是临时性的。

But I m trying to create a unattended service. Will the refresh token always work? I get the feeling that it too is going expire.

最佳回答

Adrian,

这取决于谁正在执行奥阿瑟特2。 在description 重新编号时,这一期限没有作为规格的一部分讨论。 The spec subsequently carried out to state <代码>invalid_grant的数值差不多模棱两可。 如果:

The provided authorization grant (e.g. authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.

这似乎意味着有可能重新恢复原封不动。

该文件还提到,可以交换“长期获得象征性或重创的试金”,从而将其归入相同的到期类别。

光谱的最新版本见:https://data履历。

具体实施情况

Refresh tokens are valid until the user revokes access.

复健将永远有效,但唯一例外是在用户撤回许可时。

For Google OAuth2, a user can revoke permission either through a web GUI or using an OAuth revoke endpoint.

问题回答

暂无回答




相关问题
Microsoft partner API: can t authenticate

I ve created an app in Azure AD and followed this steps (Application and user access): https://github.com/MicrosoftDocs/partner-rest/blob/docs/partner-rest/develop/api-authentication.md From what I ...

Oath+Twitter IPhoneSDK

Does anyone know of a good example utilizing the twitter API and Oauth authentication for sending Twits iPhone SDK ........... I got stuck @ sending the twits .........I can make a successful login ...

Can t get user info from Facebook with OAuth 2.0

As soon as the user is logged in, I retrieve the user info using this code: [_facebook requestWithGraphPath:@"me" andDelegate:self]; It worked for the first few times, but it eventually returned an ...

热门标签