| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-tools |
| GIT | |
| GIT | https://github.com/OCA/server-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-tools/tree/9.0/oauth_provider_jwt |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Authentication |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), SYLEAM |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), SYLEAM |
| COMMITTERS | |
| COMMITTERS | OCA Transbot, oca-travis, OCA-git-bot, Sylvain GARANCHER |
| WEBSITE | |
| WEBSITE | http://www.syleam.fr/ |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:15:22 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-tools: - oauth_provider odoo/odoo: - base |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
cryptography jwt oauthlib |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_oauth_provider_client_form |
oauth.provider.client.form | oauth.provider.client | xpath | Inherits oauth_provider.view_oauth_provider_client_form |
jwt_algorithm
Selection
help='Algorithm used to sign the JSON Web Token.'
selection=[('HS256', 'HMAC using SHA-256 hash algorithm'), ('HS384', 'HMAC using SHA-384 hash algorithm'), ('HS512', 'HMAC using SHA-512 hash algorithm'), ('ES256', 'ECDSA signature algorithm using SHA-256 hash algorithm'), ('ES384', 'ECDSA signature algorithm using SHA-384 hash algorithm'), ('ES512', 'ECDSA signature algorithm using SHA-512 hash algorithm'), ('RS256', 'RSASSA-PKCS1-v1_5 signature algorithm using SHA-256 hash algorithm'), ('RS384', 'RSASSA-PKCS1-v1_5 signature algorithm using SHA-384 hash algorithm'), ('RS512', 'RSASSA-PKCS1-v1_5 signature algorithm using SHA-512 hash algorithm'), ('PS256', 'RSASSA-PSS signature using SHA-256 and MGF1 padding with SHA-256'), ('PS384', 'RSASSA-PSS signature using SHA-384 and MGF1 padding with SHA-384'), ('PS512', 'RSASSA-PSS signature using SHA-512 and MGF1 padding with SHA-512')]
string='Algorithm'
jwt_private_key
Text
help='Private key used for the JSON Web Token generation.'
string='Private Key'
jwt_public_key
Text
compute='_compute_jwt_public_key'
help='Public key used for the JSON Web Token generation.'
string='Public Key'
jwt_scope_id
Many2one → oauth.provider.scope
comodel_name='oauth.provider.scope'
domain=[('model_id.model', '=', 'res.users')]
help="Scope executed to add some user's data in the token."
string='Data Scope'
token_type
Selection
selection_add=[('jwt', 'JSON Web Token')]
generate_private_key(self)
get_oauth2_server(self, validator=None, **kwargs)