Jump to content

Bantuan:Otentikasi/Galat

From mediawiki.org
This page is a translated version of the page Help:OAuth/Errors and the translation is 8% complete.

Daftar galat yang diketahui

E001

(mwoauth-bad-request-missing-params)
The app has set Special:OAuth/verified as a callback URL (a landing page after successful authorization), but the user arrived there without the URL parameters that should have been added to the callback URL after a successful authorization. If this error is shown right after clicking OK in the authorization dialog, that's probably an error with the OAuth server.

E002 / E003

(mwoauth-bad-request-invalid-action / mwoauth-bad-request-invalid-action-contact)
The user has been sent to a non-existent subpage of Special:OAuth. Probably a typo in the code of the OAuth app.

E004

(mwoauthdatastore-request-token-not-found)
The OAuth request token was not found. This is the OAuth equivalent of a session loss / CSRF error - could be caused by timeout, token reuse, the app omitting some earlier authentication step, or the token store being misconfigured on the server or being unreliable.

E005

(mwoauthserver-bad-consumer)
The OAuth app is not currently approved by the admins. It might still be awaiting initial approval, or its approval was revoked.

E006

(mwoauthserver-bad-consumer-key)
The provided OAuth app ID is not recognized. This is probably a configuration error with the app.

E007

(mwoauthserver-insufficient-rights)
The user is not allowed to use OAuth apps (blocked, using a blocked IP address etc).

E008

(mwoauthserver-invalid-user)
The user does not have a central ID. This can happen on wikifarms which use some kind of single sign-on and not all local accounts are attached to a single sign-on account. E.g. in the case of CentralAuth this might mean that the user needs to go through Special:MergeAccount.

E009

(mwoauthdatastore-request-token-already-used)
The request token has been used already. This is most likely a user error (trying to reload the authorization URL or using back button in the browser).

E010

(mwoauthserver-consumer-owner-only)
Trying to authorize with an OAuth/owner-only consumer . Owner-only consumers are pre-authorized so this action makes no sense. This is probably a programming or configuration error with the app.

E011

(mwoauthserver-consumer-no-secret)
The app secret is missing from the request. This is probably a programming error with the app.

E012

(mwoauthserver-bad-consumer-version)
The consumer is registered for OAuth version 1 but the application is trying to authenticate using the OAuth 2 endpoint or vice versa.