omniauth-miro 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 187ca0de86709d87ecd64b49f963aac4f165761a7b86eec04cca58e23d68bb0f
4
- data.tar.gz: c15998209db5d1e07eaa431b73bb7967d0214b93fb26fa6e8b95c29d801cdf8b
3
+ metadata.gz: 67d10e89b58685960af43257e432dbb84f3aea4a2199cb79375eb4f2de6ca7c7
4
+ data.tar.gz: 052e44dc0ad2ba91fcbf9acf34db3ca692cceda835fba6cdcb060f1c3a892718
5
5
  SHA512:
6
- metadata.gz: be08a6b64feac9bab8242b4e9dc46e5229e4bcc09d46bffd7330acd2a92c2eefb4f99629d8a384e95cb2b890e7d399faa97777ff60334546e4a39c2742a93b00
7
- data.tar.gz: af9d8caa433b195cd66dbaa140d717fc8337e9a21f2ba78d3ceb00a9eab3bfdcc1ebdd2ddd4fd11f2288893e5642b380751d413a32b6630cc81f6daf6947e4d2
6
+ metadata.gz: a774aec43c53bca4ec44031f116a844b4d338a5405a62cd89a6fa2bb3dbce650acf3f22e93d88eecbf021a96224b8f5aca84a607fdc9ae0ef9b6910a3de4649e
7
+ data.tar.gz: 3e3966222cda7c6c359f1b6cb0255b0c74e3c17f67f22dbd42f238d5725ac94592fe648c92885ebb8ad59533bbeeeb2903a0809013f3e3603560bf4e25e9d258
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.3]
4
+
5
+ - Remove overwritten callback_phase method that skipped refresh_token existence check
6
+
7
+ ## [1.0.2]
8
+
9
+ - Update uid to use organization id id
10
+ - Added token response into omniauth hash
11
+ - Overwrite callback_phase method to not fail upon missing refresh token
12
+
3
13
  ## [1.0.1]
4
14
 
5
15
  - Bugfix: added client secret to token params request
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-miro (1.0.1)
4
+ omniauth-miro (1.0.3)
5
5
  omniauth (>= 1, < 3)
6
6
  omniauth-oauth2 (~> 1.1)
7
7
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Miro
5
- VERSION = '1.0.1'
5
+ VERSION = '1.0.3'
6
6
  end
7
7
  end
@@ -13,7 +13,7 @@ module OmniAuth
13
13
  token_url: 'https://api.miro.com/v1/oauth/token'
14
14
  }
15
15
 
16
- uid { raw_info['team']['id'] }
16
+ uid { raw_info['organization']['id'] }
17
17
 
18
18
  info do
19
19
  {
@@ -26,7 +26,8 @@ module OmniAuth
26
26
 
27
27
  extra do
28
28
  {
29
- raw_info: raw_info
29
+ raw_info: raw_info,
30
+ token_info: access_token
30
31
  }
31
32
  end
32
33
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-miro
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rewind Software Inc. | Calvin Chen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-19 00:00:00.000000000 Z
11
+ date: 2024-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth