Skip to content

Commit 96367a3

Browse files
Add omniauth-rails_csrf_protection dependency (#12)
We shouldn't be using GET requests for OAuth requests. This prevents that and adds a token verifier.
1 parent f5f5fbe commit 96367a3

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

docs/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.1.1] - 2023-03-06
11+
12+
### Added
13+
14+
* Add `omniauth-rails_csrf_protection` dependency. PR [#12](https://github.com/powerhome/omniauth-nitro-id/pull/12)
15+
1016
## [1.1.0] - 2022-12-14
1117

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

2026
* Initial release
2127

22-
[Unreleased]: https://github.com/powerhome/omniauth-nitro-id/compare/v1.0.0...HEAD
28+
[Unreleased]: https://github.com/powerhome/omniauth-nitro-id/compare/v1.1.1...HEAD
29+
[1.1.1]: https://github.com/powerhome/omniauth-nitro-id/releases/tag/v1.1.1
2330
[1.1.0]: https://github.com/powerhome/omniauth-nitro-id/releases/tag/v1.1.0
2431
[1.0.0]: https://github.com/powerhome/omniauth-nitro-id/releases/tag/v1.0.0

lib/omniauth/nitro_id/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module OmniAuth
44
module NitroId
5-
VERSION = "1.1.0"
5+
VERSION = "1.1.1"
66
end
77
end

omniauth-nitro-id.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Gem::Specification.new do |spec|
1818
spec.require_paths = ["lib"]
1919

2020
spec.add_dependency "omniauth_openid_connect", "~> 0.4.0"
21+
spec.add_dependency "omniauth-rails_csrf_protection", "1.0.1"
2122

2223
spec.add_development_dependency "bundler"
2324
spec.add_development_dependency "guard-rspec"

0 commit comments

Comments
 (0)