pypomes-iam 0.2.9__py3-none-any.whl → 0.3.0__py3-none-any.whl
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/iam_pomes.py +4 -1
- {pypomes_iam-0.2.9.dist-info → pypomes_iam-0.3.0.dist-info}/METADATA +1 -1
- {pypomes_iam-0.2.9.dist-info → pypomes_iam-0.3.0.dist-info}/RECORD +5 -5
- {pypomes_iam-0.2.9.dist-info → pypomes_iam-0.3.0.dist-info}/WHEEL +0 -0
- {pypomes_iam-0.2.9.dist-info → pypomes_iam-0.3.0.dist-info}/licenses/LICENSE +0 -0
pypomes_iam/iam_pomes.py
CHANGED
|
@@ -115,7 +115,8 @@ def service_callback() -> Response:
|
|
|
115
115
|
"client_id": keycloak_registry["client-id"],
|
|
116
116
|
"client_secret": keycloak_registry["client-secret"],
|
|
117
117
|
"requested_token_type": "urn:ietf:params:oauth:token-type:access_token",
|
|
118
|
-
"audience": token_data[0]
|
|
118
|
+
"audience": token_data[0],
|
|
119
|
+
"subject_issuer": "oidc"
|
|
119
120
|
}
|
|
120
121
|
exchange_url = f"{keycloak_registry['base-url']}/protocol/openid-connect/token"
|
|
121
122
|
if logger:
|
|
@@ -144,6 +145,8 @@ def service_callback() -> Response:
|
|
|
144
145
|
if errors:
|
|
145
146
|
result = jsonify({"errors": "; ".join(errors)})
|
|
146
147
|
result.status_code = 400
|
|
148
|
+
if logger:
|
|
149
|
+
logger.error(msg=json.dumps(obj=result))
|
|
147
150
|
else:
|
|
148
151
|
result = jsonify({
|
|
149
152
|
"user-id": token_data[0],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pypomes_iam
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
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
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
pypomes_iam/__init__.py,sha256=u-gNGbsayMf-2SWTB8VcoTCADoczZuwNEH50BPxTZZ8,682
|
|
2
2
|
pypomes_iam/iam_common.py,sha256=_3Fx8kAJCthRTvQtlZg1gx0hWlUn4ko_ASROwsU9dJM,17017
|
|
3
|
-
pypomes_iam/iam_pomes.py,sha256=
|
|
3
|
+
pypomes_iam/iam_pomes.py,sha256=O1acRMyisiZuB9rIkSboxwzGoLU_1hq_gNrg39CE9NQ,7835
|
|
4
4
|
pypomes_iam/jusbr_pomes.py,sha256=Zh4nbKiBD2c4slYxgXoricCSScI8SROQproFfZ_55BI,5322
|
|
5
5
|
pypomes_iam/keycloak_pomes.py,sha256=zVoLG0yNKGW1CP1bCf3yQiFw-8ZtOG7YG3VGZDq9_3c,5681
|
|
6
6
|
pypomes_iam/provider_pomes.py,sha256=eP8XzjTUEpwejTkO0wmDiqKjqbIEOzRNCR2ju5E15og,5856
|
|
7
7
|
pypomes_iam/token_pomes.py,sha256=OSllw00XnU-sE9EKXo8jZAto0zfFLBi83dvllLs-Sc0,4402
|
|
8
|
-
pypomes_iam-0.
|
|
9
|
-
pypomes_iam-0.
|
|
10
|
-
pypomes_iam-0.
|
|
11
|
-
pypomes_iam-0.
|
|
8
|
+
pypomes_iam-0.3.0.dist-info/METADATA,sha256=-hmCE_h6DbGx97J44czCa2OD2wh4gXQkQ8HQzDmy6E0,694
|
|
9
|
+
pypomes_iam-0.3.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
10
|
+
pypomes_iam-0.3.0.dist-info/licenses/LICENSE,sha256=YvUELgV8qvXlaYsy9hXG5EW3Bmsrkw-OJmmILZnonAc,1086
|
|
11
|
+
pypomes_iam-0.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|