class Osso::Error::InvalidRedirectUri

Public Class Methods

new(redirect_uri:) click to toggle source
Calls superclass method
# File lib/osso/error/oauth_error.rb, line 33
def initialize(redirect_uri:)
  super
  @redirect_uri = redirect_uri
end

Public Instance Methods

message() click to toggle source
# File lib/osso/error/oauth_error.rb, line 38
def message
  "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