omniauth-swoop 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/strategies/swoop.rb +3 -1
- data/lib/omniauth/swoop-version.rb +1 -1
- data/omniauth-swoop.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e47bff27db8dc603f3c30e2983518c1a6695266e4c7a29d3404d5895843c3f58
|
4
|
+
data.tar.gz: 89cfc14d41e10aa4611071b311be486d1ae71a7abadf3d114fa9a5febf9f70da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30bd54de5fd21232fd1a9bc6d062481c2b16144d2f174c3b6891df94953642fc17b80ea844281fe8e65e32c0a14e702a3de282256e25cc8ce39494922bc1573a
|
7
|
+
data.tar.gz: ed33d1c2df631ab694e3655bf874a141d2ed18a9733d7a9e1e948d853111e7351452fb4f1215e92a1474fbbaa17b2655e7ec42d0a43726b729a37119c3584764
|
@@ -4,6 +4,8 @@ module OmniAuth
|
|
4
4
|
module Strategies
|
5
5
|
class Swoop < OmniAuth::Strategies::OAuth2
|
6
6
|
|
7
|
+
include OmniAuth::Strategy
|
8
|
+
|
7
9
|
option :name, "swoop"
|
8
10
|
|
9
11
|
option :client_options, {
|
@@ -41,7 +43,7 @@ module OmniAuth
|
|
41
43
|
{ raw_info: raw_info }
|
42
44
|
end
|
43
45
|
|
44
|
-
def raw_info
|
46
|
+
def raw_info
|
45
47
|
@raw_info ||= access_token.get(options.client_options[:user_info_url]).parsed
|
46
48
|
@raw_info["id_token"] = access_token.params["id_token"]
|
47
49
|
end
|
data/omniauth-swoop.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'omniauth-swoop'
|
4
|
-
s.version = '0.1.
|
4
|
+
s.version = '0.1.5'
|
5
5
|
s.date = '2021-01-19'
|
6
6
|
s.homepage = "https://github.com/swoop-password-free/omniauth-swoop"
|
7
7
|
s.description = %q{OmniAuth strategy for Swoop passwordless authentication}
|