Python Flask
Flask is a lightweight and easy-to-use microframework for Python web development. Get started integrating authentication to your Flask API Application by checking out our example-api-python3-flask Example. |
Resources​
- Example App Repository
- API APP Step-By-Step Guide
- Frontend with backend API: A simple web application using a React front-end and a Python back-end API, both secured using ZITADEL
- Fine-grained authorization: Leverage actions, custom metadata, and claims for attribute-based access control
Flask SDK​
ZITADEL does not provide a Python Flask specific SDK. But you can integrate ZITADEL to your application by using any OIDC Library such as angular-oauth2-oidc.
Check out our Example Application
Examples Application​
What does the API Application Example include:
- REST API Application secured with OAuth2
- Public Endpoint: Accessible without authentication
- Private Endpoint: Accessible with a token
- Administrator Endpoint: Accessible with a token of a user with admin role
Step-By-Step Guide​
After completing the Step-By-Step Guide you will have:
- Example REST API checking tokens against ZITADEL with OAuth2
- Public Endpoint accessible by any user
- Private Endpoint accessible by authenticated user
- Private Endpoint accessible by user with role 'admin'
- Correct setup for your application in ZITADEL