Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate Doorkeeper PreAuthorization to ensure the client is accessible
As of doorkeeper-gem/doorkeeper#1296 Doorkeeper's PreAuthorization controller is no longer passed the Client upon instantiation, but instead retrieves it during validation. To ensure that the we can access the application via the client, we explicitly call pre_auth.authorizable in order to invoke `validate_client` https://github.com/linhdangduy/doorkeeper/blob/a3458b00d89fb79e0f0a4efc733124c3bfe56db6/lib/doorkeeper/oauth/pre_authorization.rb#L71
- Loading branch information