pypomes-iam 0.2.9__py3-none-any.whl → 0.3.1__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 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": keycloak_registry["client-id"],
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.2.9
3
+ Version: 0.3.1
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=iiJrqS_np2aUyY4JS0Vi1QEcGHBQfnPkdMpTyctceUk,7722
3
+ pypomes_iam/iam_pomes.py,sha256=ig37yAtUY4srM83NWLERtTYLQDiOnjsMFKFzAWlDcH0,7852
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.2.9.dist-info/METADATA,sha256=fBxgk8sTkXy8Sky-zZMj6V0ZKE2Af3ksVZt94WtDFhk,694
9
- pypomes_iam-0.2.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
- pypomes_iam-0.2.9.dist-info/licenses/LICENSE,sha256=YvUELgV8qvXlaYsy9hXG5EW3Bmsrkw-OJmmILZnonAc,1086
11
- pypomes_iam-0.2.9.dist-info/RECORD,,
8
+ pypomes_iam-0.3.1.dist-info/METADATA,sha256=f96C5ZUrKplJEL98Rx4P9wDnpndyeYOQxm-G40-X0So,694
9
+ pypomes_iam-0.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
+ pypomes_iam-0.3.1.dist-info/licenses/LICENSE,sha256=YvUELgV8qvXlaYsy9hXG5EW3Bmsrkw-OJmmILZnonAc,1086
11
+ pypomes_iam-0.3.1.dist-info/RECORD,,