Skip to content

Commit

Permalink
Add omniauth-rails_csrf_protection dependency (#12)
Browse files Browse the repository at this point in the history
We shouldn't be using GET requests for OAuth requests. This prevents
that and adds a token verifier.
  • Loading branch information
stephenagreer authored Mar 6, 2023
1 parent f5f5fbe commit 96367a3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.1.1] - 2023-03-06

### Added

* Add `omniauth-rails_csrf_protection` dependency. PR [#12](https://github.com/powerhome/omniauth-nitro-id/pull/12)

## [1.1.0] - 2022-12-14

### Added
Expand All @@ -19,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* Initial release

[Unreleased]: https://github.com/powerhome/omniauth-nitro-id/compare/v1.0.0...HEAD
[Unreleased]: https://github.com/powerhome/omniauth-nitro-id/compare/v1.1.1...HEAD
[1.1.1]: https://github.com/powerhome/omniauth-nitro-id/releases/tag/v1.1.1
[1.1.0]: https://github.com/powerhome/omniauth-nitro-id/releases/tag/v1.1.0
[1.0.0]: https://github.com/powerhome/omniauth-nitro-id/releases/tag/v1.0.0
2 changes: 1 addition & 1 deletion lib/omniauth/nitro_id/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module OmniAuth
module NitroId
VERSION = "1.1.0"
VERSION = "1.1.1"
end
end
1 change: 1 addition & 0 deletions omniauth-nitro-id.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_dependency "omniauth_openid_connect", "~> 0.4.0"
spec.add_dependency "omniauth-rails_csrf_protection", "1.0.1"

spec.add_development_dependency "bundler"
spec.add_development_dependency "guard-rspec"
Expand Down

0 comments on commit 96367a3

Please sign in to comment.