Commit History

Autor SHA1 Mensaxe Data
  Timothy J. Baek 366679ff7c fix: 'dict' object issue %!s(int64=2) %!d(string=hai) anos
  Timothy J. Baek b5bd07a06a feat: secure litellm api %!s(int64=2) %!d(string=hai) anos
  Timothy J. Baek 3af8d16e6a fix: admin issue %!s(int64=2) %!d(string=hai) anos
  Tim Farrell 08e8e922fd Endpoint role-checking was redundantly applied but FastAPI provides a nice abstraction mechanic...so I applied it. There should be no logical changes in this code; only simpler, cleaner ways for doing the same thing. %!s(int64=2) %!d(string=hai) anos
  Tim Farrell 4fceb404bd Call `jwt.decode` with the expected algorithms %!s(int64=2) %!d(string=hai) anos
  Tim Farrell e15dbdc46a Pass the instance we're using. %!s(int64=2) %!d(string=hai) anos
  Tim Farrell 8c37edd027 Even though "User.email" is enforced as unique at signup, it is not a unique field in the database. Let's use "User.id" instead. This also makes it more difficult to do a session stealing attack. %!s(int64=2) %!d(string=hai) anos
  Tim Farrell 2c1dacb9b6 We should verify signatures to make the whole session secret meaningful. %!s(int64=2) %!d(string=hai) anos
  Tim Farrell d67f3d982b Start by renaming variables to something more generic. This will give us a bit more flexibility as we look to other session management mechanisms. %!s(int64=2) %!d(string=hai) anos
  Timothy J. Baek 5e6d946f83 chore: disable passlib log %!s(int64=2) %!d(string=hai) anos
  ThatOneCalculator 07cc7f15d5 chore: :rotating_light: lint and format %!s(int64=2) %!d(string=hai) anos
  Anuraag Jain 77323d9b25 refac: remove the verify_token and use get-current user for auth+user %!s(int64=2) %!d(string=hai) anos
  Anuraag Jain bdd153d8f5 refac: use dependencies to verify token %!s(int64=2) %!d(string=hai) anos
  Anuraag Jain a01b112f7f feat(auth): add auth middleware %!s(int64=2) %!d(string=hai) anos
  Timothy J. Baek 83ff1d77ea feat: set first user to admin by default %!s(int64=2) %!d(string=hai) anos
  Timothy J. Baek 8547b7807d feat: basic RBAC support %!s(int64=2) %!d(string=hai) anos