Skip to content

Conversation

@AlexShugaley
Copy link

No description provided.

nbulaj and others added 30 commits April 10, 2019 11:34
Add nil check operator in token checking at token introspection
This removes a MySql adapter deprecation message for Rails 6.1 - see rails/rails#35350
Specify case sensitive uniqueness for model validations
…ets` is used

If `hash_application_secrets` is enabled, it is not possible to show the application secret in the details view because it is hashes.
Without the flash, there was no way to get the secret of a new application in that case.
Show application secret in flash after creation
* Update Rubocop, add rubocop-performance
* Refactor code with code styles
* Fix specs with ActionCable
Update Rubocop, fix specs with ActionCable
…sponse

Use existing exception response in get_error_response_from_exception
To follow OSS standards we are renaming NEWS.md in favor of
CHANGELOG.md with link to the new document in a old one.
…atus

Returning forbidden when an unauthorised user tries to revoke a token
Add constraint configurations when using client authentication on introspection endpoint
…ion-id-constraint-if-using-password-grant

Add comment to explain that the application_id constraint in the oauth_access_tokens table should be optional
…ion_customization

#1204: Improve token introspection configuration
…d_token_in_introspection

#1204: Improve token introspection configuration
…ration_fix

Response properly when introspection fails and fix configurations's user guide
Sjoerd and others added 30 commits April 12, 2020 10:19
so that it doesn't change when a custom application model is configured
Require params using configured application model's param key
Yield application to allow_grant_flow_for_client? client credentials …
Updates the requirements on [danger](https://github.com/danger/danger) to permit the latest version.
- [Release notes](https://github.com/danger/danger/releases)
- [Changelog](https://github.com/danger/danger/blob/master/CHANGELOG.md)
- [Commits](danger/danger@v6.0.0...7.0.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
…r-tw-7.0

Update danger requirement from ~> 6.0 to ~> 7.0
* Handle trying authorization with client credentials

When trying to start a new authorization for an application with grant
flow 'client_credentials' (which also has redirect_uri nil), the
following error occurs:

NoMethodError: undefined method `split' for nil:NilClass

lib/doorkeeper/oauth/helpers/uri_checker.rb:66 valid_for_authorization?
lib/doorkeeper/oauth/pre_authorization.rb:89 validate_redirect_uri
lib/doorkeeper/validations.rb:13 block in validate
lib/doorkeeper/validations.rb:12 each
lib/doorkeeper/validations.rb:12 validate
lib/doorkeeper/validations.rb:19 valid?
lib/doorkeeper/oauth/pre_authorization.rb:32 authorizable?
app/controllers/doorkeeper/authorizations_controller.rb:8 new

Moving the validation for supporting grant flows up, prevents this
error from happening (and shows an error message to the user, instead of
a 500 Internal Server Error).

* [ci skip][ga skip] Reference #1402 fix
* Attempt at fixing information disclosure vulnerability.

* Add `#as_json` method and attrs serialization restriction for Application model

* [ci skip] Add documentation for serialization

Co-authored-by: Nikita Bulai <[email protected]>
Updates the requirements on [danger](https://github.com/danger/danger) to permit the latest version.
- [Release notes](https://github.com/danger/danger/releases)
- [Changelog](https://github.com/danger/danger/blob/master/CHANGELOG.md)
- [Commits](danger/danger@7.0.0...8.0.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
Make Doorkeeper::Application#read_attribute_for_serialization public.
…r-tw-8.0

Update danger requirement from ~> 7.0 to ~> 8.0
…-tests

Get rid of redundant and complex to support helpers in tests
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.