pypomes-iam 0.4.2__py3-none-any.whl → 0.4.4__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
@@ -5,7 +5,6 @@ import string
5
5
  import sys
6
6
  from datetime import datetime
7
7
  from logging import Logger
8
- from urllib import parse
9
8
  from pypomes_core import TZ_LOCAL, exc_format
10
9
  from typing import Any
11
10
 
@@ -70,11 +69,11 @@ def user_login(iam_server: IamServer,
70
69
  logger=logger)
71
70
  if registry:
72
71
  registry["redirect-uri"] = redirect_uri
73
- result = parse.quote(f"{registry["base-url"]}/protocol/openid-connect/auth"
74
- f"?response_type=code&scope=openid"
75
- f"&client_id={registry["client-id"]}"
76
- f"&redirect_uri={redirect_uri}"
77
- f"&state={oauth_state}")
72
+ result = (f"{registry["base-url"]}/protocol/openid-connect/auth"
73
+ f"?response_type=code&scope=openid"
74
+ f"&client_id={registry["client-id"]}"
75
+ f"&redirect_uri={redirect_uri}"
76
+ f"&state={oauth_state}")
78
77
  return result
79
78
 
80
79
 
@@ -168,8 +168,6 @@ def service_callback() -> Response:
168
168
  if errors:
169
169
  result = jsonify({"errors": "; ".join(errors)})
170
170
  result.status_code = 400
171
- if __IAM_LOGGER:
172
- __IAM_LOGGER.error(msg=json.dumps(obj=result))
173
171
  else:
174
172
  result = jsonify({"user-id": token_data[0],
175
173
  "token": token_data[1]})
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypomes_iam
3
- Version: 0.4.2
3
+ Version: 0.4.4
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,12 +1,12 @@
1
1
  pypomes_iam/__init__.py,sha256=KX_QLdqAD-dNUl3G1mDeutxL9e58S9OsMoJlrgM9R28,1027
2
2
  pypomes_iam/iam_common.py,sha256=RRWWhoqJZTx8sOHF-wQsu5yymMxAi5LB46Wz3kN54lQ,9348
3
- pypomes_iam/iam_pomes.py,sha256=b84W-2qxaEUEFiPjCF5S2UxEs6RasM2pOE_-U0yyV78,24282
4
- pypomes_iam/iam_services.py,sha256=cNmnBd98ixd4o_4wyimRoY0QyUJ2Fm5UB1sTW8YBl6k,11578
3
+ pypomes_iam/iam_pomes.py,sha256=9VXp2qq80hop7vb8echAlvpCnAE2zKilEUd7aA3Y6xA,24201
4
+ pypomes_iam/iam_services.py,sha256=jZVMp37KYuV1C0YWG1yZ3vCoMmW95vkR7b4qASXhjyI,11492
5
5
  pypomes_iam/jusbr_pomes.py,sha256=G-COBstBeQeD7dPgvf2MI1E8r2-ACHHwzhyfsphhKgw,5758
6
6
  pypomes_iam/keycloak_pomes.py,sha256=JxVVFdhXJypK5x9ocn7283pB1xJbS-yPgStkSFS12HM,6775
7
7
  pypomes_iam/provider_pomes.py,sha256=vfVaLGYCKSAjoB58CTw4hnUQHriMONHql_5hxjCEeHE,6358
8
8
  pypomes_iam/token_pomes.py,sha256=1g6PMNNMbmdwLrsvSXvpO8-zdRhso1IFnwAyndNmV4Q,5332
9
- pypomes_iam-0.4.2.dist-info/METADATA,sha256=_30PGiVrgDhSRLMofmHyvHuCacNuOXJsZhBt7y4R3Bs,694
10
- pypomes_iam-0.4.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
11
- pypomes_iam-0.4.2.dist-info/licenses/LICENSE,sha256=YvUELgV8qvXlaYsy9hXG5EW3Bmsrkw-OJmmILZnonAc,1086
12
- pypomes_iam-0.4.2.dist-info/RECORD,,
9
+ pypomes_iam-0.4.4.dist-info/METADATA,sha256=FiPANYywqOSOlBTww7wW2AICPia3ULbplX4WCzDdgcs,694
10
+ pypomes_iam-0.4.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
11
+ pypomes_iam-0.4.4.dist-info/licenses/LICENSE,sha256=YvUELgV8qvXlaYsy9hXG5EW3Bmsrkw-OJmmILZnonAc,1086
12
+ pypomes_iam-0.4.4.dist-info/RECORD,,