This technical addon extend base_rest to add the support for auth_jwt authentication mechanism into the generated openapi documentation.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Adds JWT bearer token authentication to the automatically generated API documentation of REST services, so developers can see and test secured endpoints with a JWT token.
This is a technical bridge module that connects two existing modules: the REST framework (base_rest) and JWT authentication (auth_jwt). It does not add any menu, screen, or button for everyday users.
What it changes is the OpenAPI documentation that Odoo generates for REST services. When a REST service is documented, this module adds a security scheme named jwt of type HTTP bearer with the JWT format, and marks every endpoint whose authentication starts with jwt as requiring that security scheme. In practice, the generated API documentation shows a lock/authorize option where a JWT token can be entered, and secured endpoints are flagged as protected.
It also provides a component that returns the authenticated partner from the JWT request, so REST services using JWT authentication can identify the logged-in partner. The module installs automatically when both base_rest and auth_jwt are present, and it requires the Python library apispec version 4.0.0 or higher.
It touches the REST service model base.rest.service and adds the abstract provider abstract.auth.jwt.authenticated.partner.provider plus the context provider base.rest.auth.jwt.component.context.provider. No business rules, scheduled jobs, or emails are added.
Models and fields (3)
- base.rest.service · extends an existing model
- base.rest.auth.jwt.component.context.provider · new model
- abstract.auth.jwt.authenticated.partner.provider · new model
Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/rest-framework.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.