Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification on Role Based Access Control (RBAC) using firebase auth #71

Open
masus04 opened this issue Apr 7, 2022 · 1 comment
Open

Comments

@masus04
Copy link

masus04 commented Apr 7, 2022

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.

@masus04
Copy link
Author

masus04 commented Apr 7, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant