Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for client presence in controller #80

Merged
merged 1 commit into from
Aug 9, 2019
Merged

Conversation

toupeira
Copy link
Member

@toupeira toupeira commented Aug 8, 2019

This should fix #78, by adding back the check for pre_auth.client which was removed in 3893ea1

Also, refactor Doorkeeper::OpenidConnect::Helpers::Controller a bit:

  • include oidc in all custom method names to protect against name clashes with the doorkeeper gem
  • split out oidc_authorization_request? and handle_oidc_error!

Thanks to @cincospenguinos @urnf @isabellechalhoub for the inspiration! 😉

@toupeira toupeira added the bug label Aug 8, 2019
@toupeira
Copy link
Member Author

toupeira commented Aug 8, 2019

@cincospenguinos @urnf @isabellechalhoub if you could give this a quick review that would be great!

Copy link

@cincospenguinos cincospenguinos left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thank you so much for taking care of this for us!

Copy link

@urnf urnf left a comment

Choose a reason for hiding this comment

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

LGTM, just a question. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not passing required parameters results in a 500
3 participants