iatoolkit 0.16.0__py3-none-any.whl → 0.16.2__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 iatoolkit might be problematic. Click here for more details.
- iatoolkit/views/external_login_view.py +5 -2
- {iatoolkit-0.16.0.dist-info → iatoolkit-0.16.2.dist-info}/METADATA +1 -1
- {iatoolkit-0.16.0.dist-info → iatoolkit-0.16.2.dist-info}/RECORD +5 -5
- {iatoolkit-0.16.0.dist-info → iatoolkit-0.16.2.dist-info}/WHEEL +0 -0
- {iatoolkit-0.16.0.dist-info → iatoolkit-0.16.2.dist-info}/top_level.txt +0 -0
|
@@ -65,10 +65,13 @@ class InitiateExternalChatView(MethodView):
|
|
|
65
65
|
onboarding_cards = self.onboarding_service.get_onboarding_cards(company)
|
|
66
66
|
|
|
67
67
|
# 4. Generate the URL for the iframe's SRC, now with the secure token.
|
|
68
|
+
environment = os.environ.get("FLASK_ENV", "dev")
|
|
69
|
+
scheme='http' if environment != "dev" else "https"
|
|
68
70
|
target_url = url_for('external_login',
|
|
69
71
|
company_short_name=company_short_name,
|
|
70
72
|
init_token=initiation_token,
|
|
71
|
-
_external=True
|
|
73
|
+
_external=True,
|
|
74
|
+
_scheme=scheme)
|
|
72
75
|
|
|
73
76
|
# 5. Render the shell.
|
|
74
77
|
return render_template("onboarding_shell.html",
|
|
@@ -151,4 +154,4 @@ class ExternalChatLoginView(MethodView):
|
|
|
151
154
|
|
|
152
155
|
except Exception as e:
|
|
153
156
|
logging.exception(f"Error al inicializar el chat para {company_short_name}/{external_user_id}: {e}")
|
|
154
|
-
return jsonify({"error": "Error interno al iniciar el chat"}), 500
|
|
157
|
+
return jsonify({"error": f"Error interno al iniciar el chat. {str(e)}"}), 500
|
|
@@ -91,7 +91,7 @@ iatoolkit/views/__init__.py,sha256=5JqK9sZ6jBuK83zDQokUhxQ0wuJJJ9DXB8pYCLkX7X4,1
|
|
|
91
91
|
iatoolkit/views/change_password_view.py,sha256=rSebwecI1zwBgR2yvAhcfMwWpGDa4QbVAIllgtSOo9k,3940
|
|
92
92
|
iatoolkit/views/chat_token_request_view.py,sha256=wf32_A2Sq8NHYWshCwL10Tovd1znLoD0jQjzutR3sVE,4408
|
|
93
93
|
iatoolkit/views/download_file_view.py,sha256=1gZ0ipqeCn39sTrJFo1-tlewlcSF7s_YNTvE4qd0HOw,2010
|
|
94
|
-
iatoolkit/views/external_login_view.py,sha256=
|
|
94
|
+
iatoolkit/views/external_login_view.py,sha256=Hyh5fDYj9F_xGPMH5YVhG4CEoJAx7PFQ9ncei_Ex0Ss,6723
|
|
95
95
|
iatoolkit/views/file_store_view.py,sha256=hUm5wX4E5oqJJEPEAObEj-nPiRp5EJIICULSfAWmHCs,1933
|
|
96
96
|
iatoolkit/views/forgot_password_view.py,sha256=Rk8Qbe9Fz7Wlgje1rt29I15gFM-a089EBi2at4FT7kA,2715
|
|
97
97
|
iatoolkit/views/history_view.py,sha256=fzZrnC-RySa7ngcPe2Hmf9_s3imx6VB6MKROMcNpjoU,2064
|
|
@@ -104,7 +104,7 @@ iatoolkit/views/tasks_review_view.py,sha256=keLsLCyOTTlcoIapnB_lbuSvLwrPVZVpBiFC
|
|
|
104
104
|
iatoolkit/views/tasks_view.py,sha256=a3anTXrJTTvbQuc6PSpOzidLKQFL4hWa7PI2Cppcz8w,4110
|
|
105
105
|
iatoolkit/views/user_feedback_view.py,sha256=G37zmP8P4LvZrSymNJ5iFXhLZg1A3BEwRfTpH1Iam5w,2652
|
|
106
106
|
iatoolkit/views/verify_user_view.py,sha256=a3q4wHJ8mKAEmgbNTOcnX4rMikROjOR3mHvCr30qGGA,2351
|
|
107
|
-
iatoolkit-0.16.
|
|
108
|
-
iatoolkit-0.16.
|
|
109
|
-
iatoolkit-0.16.
|
|
110
|
-
iatoolkit-0.16.
|
|
107
|
+
iatoolkit-0.16.2.dist-info/METADATA,sha256=15PWVwzXNSIGda_RurJVNWjy2rEtCbebu7mb1X8_kOM,9301
|
|
108
|
+
iatoolkit-0.16.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
109
|
+
iatoolkit-0.16.2.dist-info/top_level.txt,sha256=V_w4QvDx0b1RXiy8zTCrD1Bp7AZkFe3_O0-9fMiwogg,10
|
|
110
|
+
iatoolkit-0.16.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|