jarvis/backend/skills/auth.py

12 lines
504 B
Python
Raw Normal View History

2023-09-05 15:50:38 +00:00
# TODO: Handle all authentication stuff for verifying client is who we think it is in here.
"""
Reading material for this:
https://auth0.com/blog/using-m2m-authorization/
https://git.imsam.ca/sam/ThermalTodos/src/branch/main/application/main.py (FastAPI + Auth0)
(previous link is based on this) https://auth0.com/blog/build-and-secure-fastapi-server-with-auth0/
THIS IS GOING TO BE AN ABSOLUTE PAIN TO WORK ON, I SPENT LITERALLY ABOUT 8 HOURS JUST ON THERMALTODOS AUTH
I HOPE THIS ISNT AS PAINFUL
"""