pypomes-iam 0.2.6__tar.gz → 0.2.7__tar.gz
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.
Potentially problematic release.
This version of pypomes-iam might be problematic. Click here for more details.
- {pypomes_iam-0.2.6 → pypomes_iam-0.2.7}/PKG-INFO +1 -1
- {pypomes_iam-0.2.6 → pypomes_iam-0.2.7}/pyproject.toml +1 -1
- {pypomes_iam-0.2.6 → pypomes_iam-0.2.7}/src/pypomes_iam/iam_common.py +5 -1
- {pypomes_iam-0.2.6 → pypomes_iam-0.2.7}/.gitignore +0 -0
- {pypomes_iam-0.2.6 → pypomes_iam-0.2.7}/LICENSE +0 -0
- {pypomes_iam-0.2.6 → pypomes_iam-0.2.7}/README.md +0 -0
- {pypomes_iam-0.2.6 → pypomes_iam-0.2.7}/src/pypomes_iam/__init__.py +0 -0
- {pypomes_iam-0.2.6 → pypomes_iam-0.2.7}/src/pypomes_iam/iam_pomes.py +0 -0
- {pypomes_iam-0.2.6 → pypomes_iam-0.2.7}/src/pypomes_iam/jusbr_pomes.py +0 -0
- {pypomes_iam-0.2.6 → pypomes_iam-0.2.7}/src/pypomes_iam/keycloak_pomes.py +0 -0
- {pypomes_iam-0.2.6 → pypomes_iam-0.2.7}/src/pypomes_iam/provider_pomes.py +0 -0
- {pypomes_iam-0.2.6 → pypomes_iam-0.2.7}/src/pypomes_iam/token_pomes.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pypomes_iam
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.7
|
|
4
4
|
Summary: A collection of Python pomes, penyeach (IAM modules)
|
|
5
5
|
Project-URL: Homepage, https://github.com/TheWiseCoder/PyPomes-IAM
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/TheWiseCoder/PyPomes-IAM/issues
|
|
@@ -167,7 +167,8 @@ def _service_callback(registry: dict[str, Any],
|
|
|
167
167
|
logger=logger)
|
|
168
168
|
if not errors:
|
|
169
169
|
token_user: str = token_claims["payload"].get("preferred_username")
|
|
170
|
-
|
|
170
|
+
login_id = user_data.pop("login-id", None)
|
|
171
|
+
if not login_id or (login_id == token_user):
|
|
171
172
|
users[token_user] = user_data
|
|
172
173
|
result = (token_user, token)
|
|
173
174
|
else:
|
|
@@ -175,6 +176,9 @@ def _service_callback(registry: dict[str, Any],
|
|
|
175
176
|
else:
|
|
176
177
|
errors.append("Unknown state received")
|
|
177
178
|
|
|
179
|
+
if errors and logger:
|
|
180
|
+
logger.error(msg="; ".join(errors))
|
|
181
|
+
|
|
178
182
|
return result
|
|
179
183
|
|
|
180
184
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|