OdooWiki OCA HUB

Auth Jwt Server Env

auth_jwt_server_env folder_open OCA/server-auth open_in_new
Uncategorised License: AGPL-3

Configure jwt authentication method via server env.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets administrators configure JWT authentication settings (secret key, audience, issuer, public key URI) through server environment files instead of entering them in Odoo.

This module extends the JWT validator configuration so that its sensitive settings can be supplied by the server environment rather than typed into the Odoo interface.

  • It adds server-environment support to the auth.jwt.validator model, which is the record that defines how incoming JSON Web Tokens are validated.
  • The fields that can be managed this way are the secret key, the audience, the issuer, and the public key JWK URI.
  • Because these values come from the server environment, they are not stored or edited in the normal Odoo form; they are read from configuration files on the server.
  • This is useful when the same Odoo database is deployed in several environments (development, staging, production) and the JWT settings must differ per environment without manual changes in Odoo.
  • It does not add menus, buttons, reports, or scheduled actions; it only changes where the JWT validator settings come from.
  • It relies on the server_environment module for the environment-file mechanism and on auth_jwt for the JWT validator model itself.
Models and fields (1)
  • auth.jwt.validator · new model

Text generated by AI (DeepSeek) from reading the Odoo 16.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/server-auth.

terminal Installation and usage

No verified information

Installation 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.

info

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.