-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Add documentation for using with flask-jwt #28
Comments
I'm also interested in this. @mattupstate can you just provide a general overview how one would approach using flask-princpal with flask-jwt? Thanks! |
If this would still be valued, I'm going to tackle it over the next few weeks or so. I could write it up and do a PR if all goes well. |
Here is how I do it:
|
I'm using permissions and needs and adding the needs in the same place:
Just make sure that |
Is there any documentation on how to do this now ? |
Would the following be a good identity loader as well?
Not quite sure why it's necessary to add an identity loader as |
Hi Matt,
since you are already the original author of flask-jwt and since flask-principal has the option to go without session, could you perhaps add a little example that goes beside the more classical flask-login example which shows how to properly use this with flask-jwt?
If you lack the time to do so properly, could you roughly describe me the process in this report for now?
The text was updated successfully, but these errors were encountered: