Page refreshing automatically #3802
amd-srijaroy
announced in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am a newbie. I want to integrate okta hosted login (python) to the reflex-chat. Below are the code changes I did. Please guide me.
Addition in state.py
In chat.py
I can see in output logs as below
[23:29:10] Compiling: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 13/13 0:00:00
params : {}
self.auth_token : ""
True
url : http://localhost:3000/?unique_id=00uhxbd873czJjHzQ5d7&user_email=<###masked_email###>&user_name=<###masked_name###>
params : {'unique_id': '00uhxbd873czJjHzQ5d7', 'user_email': '<###masked_name###>', 'user_name': '<###masked_name###>'}
self.auth_token : "{"unique_id": "00uhxbd873czJjHzQ5d7", "user_email": "<###masked_name###>", "user_name": "<###masked_name###>"}"
True
url : http://localhost:3000/?unique_id=00uhxbd873czJjHzQ5d7&user_email=<###masked_email###>&user_name=<###masked_name###>
params : {'unique_id': '00uhxbd873czJjHzQ5d7', 'user_email': '<###masked_name###>', 'user_name': '<###masked_name###>'}
self.auth_token : "{"unique_id": "00uhxbd873czJjHzQ5d7", "user_email": "<###masked_name###>", "user_name": "<###masked_name###>"}"
True
url : http://localhost:3000/?unique_id=00uhxbd873czJjHzQ5d7&user_email=<###masked_email###>&user_name=<###masked_name###>
.....
.....
I masked confidential data.
Also I can see self.auth_token value in browser local storage with same serialised value as terminal log
But this page is continuously refreshing all by itself and thus the output in terminal.
Please anyone help me ? @adhami3310, @Alek99, @elviskahoro
Beta Was this translation helpful? Give feedback.
All reactions