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

Integrating with webapp2.auth #3

Open
vivekrc opened this issue Jul 6, 2018 · 1 comment
Open

Integrating with webapp2.auth #3

vivekrc opened this issue Jul 6, 2018 · 1 comment

Comments

@vivekrc
Copy link

vivekrc commented Jul 6, 2018

Hi Janscas,
I'm trying to integrate your code with the following:
https://www.abahgat.com/blog/user-authentication-with-webapp2-on-google-app-engine/

Can you give some ideas about how to go about it? I'm fairly new to the backend and having a tough time figuring this out.

@alejcas
Copy link
Owner

alejcas commented Jul 6, 2018

this Rbac module is completely independent of the authentication.
First comes the authentication and then comes the Rbac check.

Just implement the authentication and then implement the rbac modele. Just follow the instructions.
Define a rbac property inside your base handler, etc..

You can access the rbac from each handler. If the user could not authenticate the rbac code will never be executed.

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

2 participants