omniauth-sign-in-with-slack 1.0.0 → 1.1.0

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: c369495a9f2a9a6995c75f9883a4e589a7e5fe75bb3010c32f3cd990b2a9aa81
4
- data.tar.gz: 2d77bfdaac901992dfc462d1ea4c300f676785b346f2b0a981486384da68b5a9
3
+ metadata.gz: 208cf6cadc19f6ab34d44196bc660132b1ca3b21913f2496e31f6bcba5a2f32a
4
+ data.tar.gz: 4998755edcc7f06e0e3a7206da7d3fcabd72cda0ccc090200a5bd50fd8626562
5
5
  SHA512:
6
- metadata.gz: c0eed2d783e4a5cdb916bd34acc07765c142612f1f188066b9ceb74842d132954d90059472376d8ce15b978aff79625a4bbc6aa1260f4caeaacc5e333ba220ba
7
- data.tar.gz: cd7a9455954a7822ab5d544855252ff1d028425c8b88f6e638ecdf11eb0d866031ab96e31a851c7dd6c5aa5f983c281c41e5e30c3294c5c339e681af1c5a2602
6
+ metadata.gz: 0acc7bcdb0d532ab629e308c48860252112bb0dde8701e1083fce2cf604268fa51a17b0ba71a9abb0989d343acb651a50f085d703c6a846ad08f41b448b732f7
7
+ data.tar.gz: 0a63b8f988299acc2d2825aa5e9b438330b42fdc212b22d18335cc71626c00392efca9ed9f5c895157fc2a6c9d941ebb13e08054e523957425a893521f43a52b
data/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
+ ## [Unreleased]
2
+
3
+ - Nothing yet
4
+
5
+ ## [1.1.0] 2023-08-19
6
+
7
+ - Support the `team` parameter sent to the `omniauth_authorize_path`. By including `team` in the redirect URL, Slack can automatically choose the correct team out of all the teams you are logged in to already. This can save a lot of confusion and mis-installs.
8
+
1
9
  ## [1.0.0] 2023-08-08
2
10
 
3
11
  - Initial release
4
12
  - Contains `OmniAuth::Strategies::Slack` for OIDC Sign in with Slack
5
-
6
- ## [Unreleased]
7
-
8
- - Nothing yet
data/README.md CHANGED
@@ -6,7 +6,7 @@ An [Omniauth][1] plugin for [the new Sign in With Slack flow][2], which is based
6
6
 
7
7
  First, you need to already have [Omniauth][1] installed and set up in your application.
8
8
 
9
- Then, run `bundle add omniauth-sign_in_with_slack`.
9
+ Then, run `bundle add omniauth-sign-in-with-slack`.
10
10
 
11
11
  [1]: https://github.com/omniauth/omniauth
12
12
  [2]: https://api.slack.com/authentication/sign-in-with-slack
@@ -9,6 +9,7 @@ module OmniAuth
9
9
  option :issuer, "https://slack.com"
10
10
  option :discovery, true
11
11
  option :scope, %w[openid email profile]
12
+ option :allow_authorize_params, %w[team]
12
13
 
13
14
  def initialize(*args, &block)
14
15
  super
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-sign-in-with-slack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andre Arko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-09 00:00:00.000000000 Z
11
+ date: 2023-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth_openid_connect
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 3.4.18
65
+ rubygems_version: 3.4.19
66
66
  signing_key:
67
67
  specification_version: 4
68
68
  summary: Use OmniAuth to Sign in with Slack