rails_simple_auth 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5f9d9b599e334e5a35ceb95fe2bc733593b9329e07d42c06bd306d549280567
4
- data.tar.gz: bf8c69961e726a34e0caea4ad1b1d5049d942a7c6f694a2612c198ab8c795d09
3
+ metadata.gz: 5e3b095ff64262301ce80addfe5b6a2bcd05c3356bd36cd3cb0ba545ac78bccb
4
+ data.tar.gz: f076015e2bb501c1590eff06f722ae8d18a0dbcb307dd31ab934851abd45c83b
5
5
  SHA512:
6
- metadata.gz: bb0a48a70365bdbcb733eae1e20126f35c58f8de4cd8458dade299f6f191d819f53acb88da8f3b163447ec2abe5b7efca9e0a5c52a9e85d49863fff0eb4bb36a
7
- data.tar.gz: 0d71c70b2daf1e7ae474fe86e17950941a150eecfbddfa838a2fe7110b4e860cf33487b43b7268ca096f4aad00f50f351cfbeab4ac3aa486d08d06f099caad87
6
+ metadata.gz: de19631e5a5e5f3db9792591442e53bdc29ae7cfc32fb877e2091256d499207d7d363bfa36fa6fbab33172153ca208077ed8bb7d9a0bc97c933877fdd6edfa7f
7
+ data.tar.gz: 95e036ece7c8518c326257e018b19b691c1dfe79f0785d562284dae2dc4ba67d28e9f4e962b3d4da0b0ffc5eac672aa8c53f1b8ba6628de9a85b041f65ee52e4
data/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.10] - 2026-01-19
11
+
12
+ ### Fixed
13
+
14
+ - **OAuth authenticity token error** - Disabled OmniAuth's `AuthenticityTokenProtection` which was blocking OAuth requests even with valid CSRF tokens. POST-only enforcement already prevents CSRF attacks.
15
+
10
16
  ## [1.0.9] - 2026-01-19
11
17
 
12
18
  ### Added
@@ -24,9 +24,12 @@ module RailsSimpleAuth
24
24
  end
25
25
 
26
26
  # Secure OmniAuth by default - only allow POST to initiate OAuth (prevents CSRF)
27
+ # Disable OmniAuth's authenticity token protection since POST-only already prevents CSRF
28
+ # and Rails handles CSRF protection at the application level
27
29
  initializer 'rails_simple_auth.omniauth', after: :load_config_initializers do
28
30
  if defined?(OmniAuth)
29
31
  OmniAuth.config.allowed_request_methods = %i[post]
32
+ OmniAuth.config.request_validation_phase = nil
30
33
  end
31
34
  end
32
35
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsSimpleAuth
4
- VERSION = '1.0.9'
4
+ VERSION = '1.0.10'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_simple_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuznetsov