Exception: Osso::Error::InvalidRedirectUri
- Inherits:
-
OAuthError
- Object
- StandardError
- Base
- OAuthError
- Osso::Error::InvalidRedirectUri
- Defined in:
- lib/osso/error/oauth_error.rb
Instance Method Summary collapse
-
#initialize(redirect_uri:) ⇒ InvalidRedirectUri
constructor
A new instance of InvalidRedirectUri.
- #message ⇒ Object
Methods inherited from OAuthError
Methods inherited from Base
Constructor Details
#initialize(redirect_uri:) ⇒ InvalidRedirectUri
Returns a new instance of InvalidRedirectUri.
33 34 35 36 |
# File 'lib/osso/error/oauth_error.rb', line 33 def initialize(redirect_uri:) super @redirect_uri = redirect_uri end |
Instance Method Details
#message ⇒ Object
38 39 40 41 42 43 |
# File 'lib/osso/error/oauth_error.rb', line 38 def "The requested redirect URI #{@redirect_uri} is not on the allow-list for the rquested " \ 'OAuth client identifier. Review our OAuth documentation, check you\'re using the correct ' \ 'OAuth client identifier, and confirm your Redirect URI allow-list includes the ' \ 'appropriate URI(s).' end |