Skip to content

Conversation

@nbulaj
Copy link
Member

@nbulaj nbulaj commented Mar 14, 2024

Fixes #1682 and #1678

  • Grant also should be allowed to have blank redirect_uri? 🤔
  • Review the full flow
  • Add tests

.symbolize_keys
end

def allow_blank_redirect_uri?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be better to phrase this in the way that the spec reads, so: require_redirect_uri? and then check present? instead of blank?

Copy link
Contributor

@ThisIsMissEm ThisIsMissEm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, but we'll need tests to confirm it works, only comment is about making the allow_blank_redirect_uri? into the same language as the spec: require_redirect_uri?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doorkeeper::Errors::InvalidRedirectUri Raised When No Redirect URI Set

3 participants