fastapi-cloudauth
fastapi-cloudauth copied to clipboard
Clarification on Role Based Access Control (RBAC) using firebase auth
Thank you for your work on this library, it simplified the standard use case of authentication for my API by a lot.
However, the documentation on RBAC and verifying claims is currently rather minimal and I was not able to figure out how to implement it.
Specifically I do not understand the following line: Use as (auth is this instanse and app is fastapi.FastAPI instanse):
What exactly is auth an instance of for the Firebase case and how can I get it?
Once solved, I can create a PR with some additional explication to the readme for clarification.
Looking deeper into this, I assume, the Firebase(ScopedAuth)
class has not yet been implemented.
Is this correct and if so, are there any plans on doing so or how can I help?