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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 885ba8902681630c8c5eddf6464e8ec385768e2a7cd1762dee1253a588bc2a94
|
|
4
|
+
data.tar.gz: a5219d5613b3a842d88dfe11c30eb88cd3e63e4bfa249ed361054b8f63322adf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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]
|