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 +4 -4
- data/CHANGELOG.md +5 -1
- data/README.md +1 -1
- data/lib/omniauth/idcat_mobil/version.rb +1 -1
- data/lib/omniauth/strategies/idcat_mobil.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2c510f98cc25863f8f7d1e8c4fa698993a71438f948d6f1cd039c3535ce735f
|
4
|
+
data.tar.gz: b743977b94da58395d324f3df3c8ed6b82ea14f3098836d162c9d0b42cec366b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
##
|
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
|
@@ -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
|
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.
|
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-
|
11
|
+
date: 2022-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|