Skip to content

Commit

Permalink
Release 5.5.0.rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
nbulaj committed Jan 21, 2021
1 parent fcdd0a8 commit 06c7baf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ User-visible changes worth mentioning.
## master

- [#PR ID] Add your PR description here.

## 5.5.0.rc2

- [#1473] Enable `Applications` and `AuthorizedApplications` controllers in API mode.

**[IMPORTANT]** you can still skip these controllers using `skip_controllers` in
Expand Down
12 changes: 12 additions & 0 deletions doorkeeper.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ Gem::Specification.new do |gem|
gem.add_dependency "railties", ">= 5"
gem.required_ruby_version = ">= 2.4"

gem.post_install_message = <<~MSG.strip
Starting from 5.5.0.rc1 Doorkeeper requires client authentication for Resource Owner Password Grant
as stated in the OAuth RFC. You have to create a new OAuth client (Doorkeeper::Application) if you didn't
have it before and use client credentials in HTTP Basic auth if you previously used this grant flow without
client authentication.
To opt out of this you could set the "skip_client_authentication_for_password_grant" configuration option
to "true", but note that this is in violation of the OAuth spec and represents a security risk.
Read https://github.com/doorkeeper-gem/doorkeeper/issues/561#issuecomment-612857163 for more details.
MSG

gem.add_development_dependency "appraisal"
gem.add_development_dependency "capybara"
gem.add_development_dependency "coveralls"
Expand Down
2 changes: 1 addition & 1 deletion lib/doorkeeper/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module VERSION
MAJOR = 5
MINOR = 5
TINY = 0
PRE = "rc1"
PRE = "rc2"

# Full version number
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
Expand Down

0 comments on commit 06c7baf

Please sign in to comment.