Exception: StandardId::InvalidRedirectUriError

Inherits:
OAuthError
  • Object
show all
Defined in:
lib/standard_id/errors.rb

Overview

RFC 7591 §3.2.2 client registration errors. Both render as HTTP 400 with an ‘error` of `invalid_redirect_uri` / `invalid_client_metadata` and an `error_description`. They subclass OAuthError so the existing OAuth error handling renders them in the standard error shape.

Instance Method Summary collapse

Methods inherited from OAuthError

#http_status

Instance Method Details

#oauth_error_codeObject



118
# File 'lib/standard_id/errors.rb', line 118

def oauth_error_code = :invalid_redirect_uri