Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 480 |
Technical Name |
auth_jwt_fs |
License | LGPL-3 |
Website | https://github.com/minhminh191000 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 480 |
Technical Name |
auth_jwt_fs |
License | LGPL-3 |
Website | https://github.com/minhminh191000 |
🔐 API Service JWT Module
Secure authentication and dynamic API routing for Odoo using JSON Web Token (JWT)
This module provides a secure JWT-based authentication system for external API integrations. It allows frontend, mobile apps, or third-party systems to communicate with Odoo safely through REST APIs without using standard session cookies.
🚀 Key Features
- Login and authentication via JWT token
- Dynamic URL routing via
auto_url
configuration - Automatic CRUD API generation with endpoint
/api/v1/<uuid>
- Customizable API rules through the Odoo backend
- Token management and validation on user profiles
⚙️ Technical Overview
- Integrates with
auth_jwt
andapi_service_jwt
logic - Configuration keys:
jwt_extra_key = FS@2025
auto_url = /api/v1/FS2025
- Provides API endpoint:
/api/jwt/oauth/token
for authentication - Includes Odoo views for managing API URLs and JWT users
📁 Module Structure
api_service_jwt/ ├── controllers/ │ ├── auth_jwt_controller.py │ ├── controllers.py │ ├── exceptions.py │ ├── parser.py │ └── serializers.py │ ├── models/ │ ├── auto_url_jwt.py │ └── user_jwt.py │ ├── views/ │ ├── auto_url_jwt_views.xml │ └── user_jwt_views.xml │ ├── utils/ │ └── response.py │ └── README.md
💬 Contact
Facebook: Nguyen Van Minh
Email: marknguyen.migor@gmail.com
Please include [Odoo Module] at the beginning of your email subject.
Please log in to comment on this module