omniauth-slack-openid 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/omniauth/slack_openid.rb +1 -1
- data/lib/omniauth/strategies/slack_openid.rb +13 -14
- 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: a0b8da342cc5012b1efbfb15c73e72dfd8718074217b4ae5969d5b4a6c3fbadc
|
4
|
+
data.tar.gz: a5fbb3cf54c8126ad6a902c4f5f866ca081d9d0aadb701f2aedaa0eb6925dcec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f1b25a66258bec67245cfa69c7b1b4ceaa12e5114740a039d66b1bb770e1a2184af4b08cacc03f33516072b9ccf08543a93d51eb4f2468dda4b4fa723bf338a
|
7
|
+
data.tar.gz: 0d1c1afc9074f073710a6f01489c5ec0367e9f8b624a1e9716e6dabbd6f3c4063babad419d3f92ca31ea4e127df85515842777db13ee2e8c957f3cb924653ea1
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# omniauth-slack-openid.rb
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/omniauth-slack-openid.svg)](https://badge.fury.io/rb/omniauth-slack-openid) [![Test Status](https://github.com/amkisko/omniauth-slack-openid.rb/actions/workflows/test.yml/badge.svg)](https://github.com/amkisko/omniauth-slack-openid.rb/actions/workflows/test.yml)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/omniauth-slack-openid.svg)](https://badge.fury.io/rb/omniauth-slack-openid) [![Test Status](https://github.com/amkisko/omniauth-slack-openid.rb/actions/workflows/test.yml/badge.svg)](https://github.com/amkisko/omniauth-slack-openid.rb/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/amkisko/omniauth-slack-openid.rb/graph/badge.svg?token=HIOT78D47F)](https://codecov.io/gh/amkisko/omniauth-slack-openid.rb)
|
4
4
|
|
5
5
|
An OmniAuth strategy for implementing Sign-in with Slack using OpenID Connect.
|
6
6
|
|
@@ -5,20 +5,19 @@ module OmniAuth
|
|
5
5
|
class SlackOpenid < OmniAuth::Strategies::OAuth2
|
6
6
|
AUTH_OPTIONS = %i[scope user_scope team team_domain].freeze
|
7
7
|
|
8
|
-
INFO_DATA =
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
)
|
8
|
+
INFO_DATA = Struct.new(
|
9
|
+
:user_id,
|
10
|
+
:team_id,
|
11
|
+
:email,
|
12
|
+
:email_verified,
|
13
|
+
:name,
|
14
|
+
:picture,
|
15
|
+
:given_name,
|
16
|
+
:family_name,
|
17
|
+
:locale,
|
18
|
+
:team_name,
|
19
|
+
:team_domain
|
20
|
+
)
|
22
21
|
|
23
22
|
option :name, "slack_openid"
|
24
23
|
option :client_options,
|