codemation / easyauth

Create a centralized Authentication and Authorization token server. Easily secure FastAPI endpoints based on Users, Groups, Roles or Permissions with very little database usage.
https://easyauth.readthedocs.io/en/latest/
MIT License
553 stars 52 forks source link

Fix service account token generation API #72

Closed codemation closed 1 year ago

codemation commented 1 year ago

Description

This PR fixes an issue with service account token generation API not using correct model before looking up permissions.