OAuth error oauth_problem=token_rejected
問題
When accessing content provided by the other application via an application link, you are prompted to authenticate, even though you have already authenticated in the past.
アプリケーション ログに次のエラーが記録される。
oauth_problem=token_rejected
診断
環境
- 2 つのアプリケーションがアプリケーション リンクを使って接続されている
- 認証方式として OAuth が使われている
- One of the application is using OAuth 2LO with "Execute As" via Incoming authentication.
原因
The user has established an OAuth authentication token before, however on the remote the token is missing. This can be because of:
- The user has manually revoked the OAuth token at the other end
- The Application Link OAuth configuration was changed at the other end, triggering all OAuth tokens to be removed
After this warning appears once, the token will be discarded and the user will be prompted to re-authenticate, so besides the inconvenience, this should not cause any further problems.
- If you use 2-Legged OAuth (2LO) with an "Execute As" user, you are encountering the bug -
- If you use 2-Legged OAuth (2LO) with an Impersonation, you shouldn't get the warning message.
ソリューション
- Re-authenticate to get a new token. This should happen the next time an application requires user authorization.
最終更新日 2016 年 7 月 11 日
Powered by Confluence and Scroll Viewport.