Dōrvis

Sign in

Errors and how to fix them

Errors are returned in two places: as the error parameter on the redirect URI and in the token endpoint response.

Errors on the redirect URI

HTTPGET
https://example.lv/callback?error=auth_method_disabled&error_description=…&state=4f1c8a…
errorCauseWhat to do
auth_method_disabledThe requested method is not enabled for the integrationEnable it in Configuration or send a different acr_values
access_deniedThe user cancelled or declined the loginShow a try again button
invalid_requestA missing parameter, an unknown acr_values value or a redirect_uri mismatchCheck the request and the URIs registered in the portal
invalid_scopeA scope the integration is not allowed to useUse openid profile
server_errorAn error on the Dorvis or provider sideTry again, and write to us if it keeps happening

Errors in the code exchange

errorMost common cause
invalid_clientWrong secret or a different token endpoint authentication set on the integration
invalid_grantThe code was already used, expired, or redirect_uri differs from the authorization request
unauthorized_clientThe integration is inactive or not allowed to use this flow

Checklist

  • redirect_uri matches the registered one, including protocol, port and trailing slash
  • acr_values starts with idp: and holds one value
  • The server clock is synchronised; otherwise the exp check can fail
  • The session cookie is preserved through the redirect and return; otherwise state will not match
  • The secret was not regenerated in the portal after it went into your configuration

Did not find the answer?

Write to us and a developer will reply.

Ask a question
Loading complete

We use cookies to make this website easier to use. Read our Privacy and Cookie Policy.