Advice in Python Flask Framework
-
Hello All, Can anyone suggest me some reference for 2-3 flask framework based projects? I am working on some projects and i need to work on flask. I have checked some tutorials also but I can't find the best one. Can anyone suggest me?
-
Hiya,
Here are all of our python examples: https://fusionauth.io/docs/v1/tech/example-apps/python
There are a few flask apps there.
If you have specific needs (about functionality you want to access via the client libs), please share them and I'll help if I can.
Cheers,
Dan -
FusionAuth based authentication can be also quite smoothly incorporated into Flask application via authlib.
-
@mgetka great point. I think we use requests-oauthlib in the user portal example app.
It's worth calling out that there are two levels of integration between FusionAuth and your application.
The first is with OAuth/OIDC. These are standards and FusionAuth should work with any library that supports those standards. (If not, please open a bug, as we want to know about that ). This will handle authentication and authorization. The data you can get about the user is limited, though you can put custom claims in your JWT with lambdas if what you need is in the user or the registration objects. If this meets your needs, definitely recommend using a library like the one mgetka or I suggest.
The second is with the FusionAuth API. This has access to all the APIs, including things that just aren't accessible via the standards. Stuff like registering a user to an application or adding/removing them from a group, or adding custom data to the
user.data
field.I'm sure you know all that @mgetka , just wanted to document for others as it was confusing for me when I started integrating.
-
@aartiyadavpersonal said in Advice in Python Flask Framework:
flask framework based projects?
Here are a few of them:
- Weather App using Flask
- Full Stack Social Network App
- Portfolio Website using Flask
- Rest API with Flask
- Feedback Form using Flask
- Deploy Machine Learning Models using Flask
- Blog App using Flask
Also, you can start with these tutorials.