Create a centralized Authentication and Authorization token server. Easily secure FastAPI endpoints based on Users, Groups, Roles or Permissions with very little database usage.
Hey @Rictus , thanks for the contribution & patience so far.
The introduction of fastapi >0.92.0 introduced breaking changes to the documented usage of easyauth & corresponding tests. I have since adapted the code to work with later fastapi versions, but the new requirement of adding middleware pre-startup also means that EasyAuthServer and EasyAuthClient must be created outside of 'startup' . The changes in #89 mean of course a rebase will be required on this PR, after which tests should again pass.
Hey @Rictus , thanks for the contribution & patience so far.
The introduction of fastapi >0.92.0 introduced breaking changes to the documented usage of easyauth & corresponding tests. I have since adapted the code to work with later fastapi versions, but the new requirement of adding middleware pre-startup also means that EasyAuthServer and EasyAuthClient must be created outside of 'startup' . The changes in #89 mean of course a rebase will be required on this PR, after which tests should again pass.