lex-microsoft_teams 0.6.43 → 0.6.44

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: bb45b23e2ed5d3a627ff36c180ca4de1b760780281a7b9e3ced3700926295b00
4
- data.tar.gz: 7cf60a638335e21601ccf7f5e7ca972dc5786e466dbd8c7826311e8efcacf9c6
3
+ metadata.gz: 885ba8902681630c8c5eddf6464e8ec385768e2a7cd1762dee1253a588bc2a94
4
+ data.tar.gz: a5219d5613b3a842d88dfe11c30eb88cd3e63e4bfa249ed361054b8f63322adf
5
5
  SHA512:
6
- metadata.gz: c8f00e377cd7434969144294d19bece1adb691ac72ffd757f635098bb3eff8074c07507a338d8fcb1a228700fcf10a528236e7cac09972867690826f951aaab3
7
- data.tar.gz: 6392e91d554d507df66ade582982a2ffb491be6ec270276e13e3e6c05cfb581f5b1cbfbddaf5445bec3fbe962b73a41bc529f5aa2bb7fdc6a3ba7e7346cb6ae3
6
+ metadata.gz: 3d919100c1defbd37a2d26c603bcdc9bf254a8c7070b862a9b70d204ba68a83d939a9465ed5514f78c3d5a24b7c240bcc7751c5250920ead71e7634e9401660b
7
+ data.tar.gz: 6890d6f1c4d24019efe5e9d36f05d31fe50629f5adb87b44c0bb86b1fc6cc52bb525dcd4128e08a163b021c7930b588fdcaf16de487aaf27c0b0a83c5abd8326
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.6.44] - 2026-04-23
6
+
7
+ ### Fixed
8
+ - `TokenCache#teams_auth_settings` — `settings` (from `Settings::Helper`) looks up `Legion::Settings[:extensions][:microsoft_teams]` which is empty because Teams config lives at `Legion::Settings[:microsoft_teams]`. Added fallback to `Legion::Settings[:microsoft_teams]` when `settings` returns empty, restoring tenant_id/client_id resolution for token refresh. This was the root cause of "Missing tenant_id or client_id for delegated refresh" immediately after successful OAuth login
9
+
5
10
  ## [0.6.43] - 2026-04-23
6
11
 
7
12
  ### Fixed
@@ -394,6 +394,8 @@ module Legion
394
394
 
395
395
  def teams_auth_settings
396
396
  ms = settings
397
+ ms = Legion::Settings[:microsoft_teams] if defined?(Legion::Settings) && (ms.nil? || ms.empty?)
398
+ ms ||= {}
397
399
  auth = ms[:auth].is_a?(Hash) ? ms[:auth].dup : {}
398
400
  auth[:tenant_id] ||= ms[:tenant_id]
399
401
  auth[:client_id] ||= ms[:client_id]
@@ -3,7 +3,7 @@
3
3
  module Legion
4
4
  module Extensions
5
5
  module MicrosoftTeams
6
- VERSION = '0.6.43'
6
+ VERSION = '0.6.44'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lex-microsoft_teams
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.43
4
+ version: 0.6.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity