Closed JimCircadian closed 1 year ago
Generating little JSON file for loading in dynamic users for differing environments:
>>> user_list = dict(
... an_account = secrets.token_urlsafe(8))
>>> with open("auth_list.json", "w") as fh:
... fh.write(json.dumps(user_list))
Implementing a basic authentication scheme