You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a dcc.Interval defined in one of my pages and BasicAuth for authentication with an auth_func. After I login, the auth_func is invoked on each interval. Is this behavior expected? If it is, what can I check in the auth_func to skip my credentials checking (avoid db/api call) when it is called in the interval?
auth_func
def authorization_function(username, password):
print("Calling Auth: {}".format(datetime.now()))
if (username == "hello") and (password == "world"):
return True
else:
return False
I have a
dcc.Interval
defined in one of my pages andBasicAuth
for authentication with anauth_func
. After I login, theauth_func
is invoked on each interval. Is this behavior expected? If it is, what can I check in the auth_func to skip my credentials checking (avoid db/api call) when it is called in the interval?auth_func
private_user.py
Output
The text was updated successfully, but these errors were encountered: