omniauth-idcat_mobil 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37d52ae58802955d43e15d2492906f84dba0b4a9f6a042436fad68ebc1093f33
4
- data.tar.gz: 131dc83ac5dc43b4ee47d66ff3213341394ae01469273ef6adb8580e72be6129
3
+ metadata.gz: b2c510f98cc25863f8f7d1e8c4fa698993a71438f948d6f1cd039c3535ce735f
4
+ data.tar.gz: b743977b94da58395d324f3df3c8ed6b82ea14f3098836d162c9d0b42cec366b
5
5
  SHA512:
6
- metadata.gz: 129387454f49df2062c14dce03ba6a5720b1be7fa11697f28026096d38da62ebcbbc62ff4953c5833cc7269a398dcb9bf8ef0a99a152bb4d61c4b0a7030d5707
7
- data.tar.gz: b6dea50779fdd2b3835e6944b0dee4b58bccb9907d036fa6e3d1d9189c77f402525057399acb6085988abff36145dccf971adca0144be0801bb8729095e51268
6
+ metadata.gz: ddc16470b5a9b7f4298d773568dbbbae3584d85aec130fe9728883da4ef9c8b36eb239aafcd3b841d8d428a200896fcaee1b5e73447ac6a5325d89bac94718dd
7
+ data.tar.gz: 15b24d49ae852316ea14be9d5c546035e2943b9b1cf87d3f1127f7b81f16f8976aa31bef02c03b9f6ab9019d7bc36bf41de31a93a1a888d5fcbf7c69fbe83307
data/CHANGELOG.md CHANGED
@@ -2,8 +2,12 @@
2
2
 
3
3
  ## next version:
4
4
 
5
+ ## Version 0.2.3 (PATCH)
6
+ - FIX: do not delete the session state before checking it.
7
+ - DOC: Correct mispelling in README
8
+
5
9
  ## Version 0.2.2 (PATCH)
6
- - Fix internal `log` method is wrongly invoked from `omniauth`.
10
+ - FIX: Fix internal `log` method is wrongly invoked from `omniauth`.
7
11
  - Bump Ruby version to 2.7.5
8
12
 
9
13
  ## Version 0.2.1 (PATCH)
data/README.md CHANGED
@@ -57,7 +57,7 @@ When users get authenticated, we still need to negotiate the access_token that w
57
57
  The access_token is obtained by performing a POST request to the provider. If this succeeds then we're ready to go and perform te `getUserInfo` request. This request is implemented in the `raw_info` method.
58
58
  After a successful `getUserInfo` the superclass of this strategy fills the `info` so that our host application can access it and finishes with its authentication task.
59
59
 
60
- ## Incon assets
60
+ ## Icon assets
61
61
  We're including _IdCat mòbil_ icons in lib/decidim/idcat_mobil for the joy of the developer. They can be used to complement the OAuth2 button or alike.
62
62
 
63
63
  ## Development
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module IdCatMobil
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
@@ -89,7 +89,7 @@ module OmniAuth
89
89
  # That's what we do in this callback.
90
90
  def callback_phase
91
91
  idcat_log("In `callback_phase` with request params: #{request.params}")
92
- idcat_log("Both should be equal otherwise a 'CSRF detected' error is raised: params state[#{request.params["state"]}] =? [#{session.delete("omniauth.state")}] session state.")
92
+ idcat_log("Both should be equal otherwise a 'CSRF detected' error is raised: params state[#{request.params["state"]}] =? [#{session["omniauth.state"]}] session state.")
93
93
  super
94
94
  end
95
95
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-idcat_mobil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Valls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-28 00:00:00.000000000 Z
11
+ date: 2022-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth