Auth JWT

auth_jwt
REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/18.0/auth_jwt
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSStéphane Bidoul, Stefan Rijnhart, OCA-git-bot, oca-ci, kobros-tech
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography
pyjwt
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
JWT bearer token authentication.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_auth_jwt_validator_form auth.jwt.validator.form auth.jwt.validator form New
view_auth_jwt_validator_tree auth.jwt.validator.tree auth.jwt.validator list New
Models touched (2)

New fields (18)
  • audience Char
    help='Comma separated list of audiences, to validate aud.' required=True
  • cookie_enabled Boolean
    help='Convert the JWT token into an HttpOnly Secure cookie. When both an Authorization header and the cookie are present in the request, the cookie is ignored.'
  • cookie_max_age Integer
    default=<expr> help='Number of seconds until the cookie expires (Max-Age).'
  • cookie_name Char
    default='authorization'
  • cookie_path Char
    default='/'
  • cookie_secure Boolean
    default=True help='Set to false only for development without https.'
  • issuer Char
    help='To validate iss.' required=True
  • name Char
    required=True
  • next_validator_id Many2one → auth.jwt.validator
    domain="[('id', '!=', id)]" help='Next validator to try if this one fails' args: 'auth.jwt.validator'
  • partner_id_required Boolean
  • partner_id_strategy Selection
    args: [('email', 'From email claim')]
  • public_key_algorithm Selection
    default='RS256' args: [('ES256', 'ES256 - ECDSA using SHA-256'), ('ES256K', 'ES256K - ECDSA with secp256k1 curve using SHA-256'), ('ES384', 'ES384 - ECDSA using SHA-384'), ('ES512', 'ES512 - ECDSA using SHA-512'), ('RS256', 'RS256 - RSASSA-PKCS1-v1_5 using SHA-256'), ('RS384', 'RS384 - RSASSA-PKCS1-v1_5 using SHA-384'), ('RS512', 'RS512 - RSASSA-PKCS1-v1_5 using SHA-512'), ('PS256', 'PS256 - RSASSA-PSS using SHA-256 and MGF1 padding with SHA-256'), ('PS384', 'PS384 - RSASSA-PSS using SHA-384 and MGF1 padding with SHA-384'), ('PS512', 'PS512 - RSASSA-PSS using SHA-512 and MGF1 padding with SHA-512')]
  • public_key_jwk_uri Char
  • secret_algorithm Selection
    default='HS256' args: [('HS256', 'HS256 - HMAC using SHA-256 hash algorithm'), ('HS384', 'HS384 - HMAC using SHA-384 hash algorithm'), ('HS512', 'HS512 - HMAC using SHA-512 hash algorithm')]
  • secret_key Char
  • signature_type Selection
    required=True args: [('secret', 'Secret'), ('public_key', 'Public key')]
  • static_user_id Many2one → res.users
    default=1 args: 'res.users'
  • user_id_strategy Selection
    default='static' required=True args: [('static', 'Static')]
Public methods (3)
  • create(self, vals)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/17.0/auth_jwt
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, kobros-tech
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography
pyjwt
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
JWT bearer token authentication.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_auth_jwt_validator_form auth.jwt.validator.form auth.jwt.validator form New
view_auth_jwt_validator_tree auth.jwt.validator.tree auth.jwt.validator tree New
Models touched (2)

New fields (18)
  • audience Char
    help='Comma separated list of audiences, to validate aud.' required=True
  • cookie_enabled Boolean
    help='Convert the JWT token into an HttpOnly Secure cookie. When both an Authorization header and the cookie are present in the request, the cookie is ignored.'
  • cookie_max_age Integer
    default=<expr> help='Number of seconds until the cookie expires (Max-Age).'
  • cookie_name Char
    default='authorization'
  • cookie_path Char
    default='/'
  • cookie_secure Boolean
    default=True help='Set to false only for development without https.'
  • issuer Char
    help='To validate iss.' required=True
  • name Char
    required=True
  • next_validator_id Many2one → auth.jwt.validator
    domain="[('id', '!=', id)]" help='Next validator to try if this one fails' args: 'auth.jwt.validator'
  • partner_id_required Boolean
  • partner_id_strategy Selection
    args: [('email', 'From email claim')]
  • public_key_algorithm Selection
    default='RS256' args: [('ES256', 'ES256 - ECDSA using SHA-256'), ('ES256K', 'ES256K - ECDSA with secp256k1 curve using SHA-256'), ('ES384', 'ES384 - ECDSA using SHA-384'), ('ES512', 'ES512 - ECDSA using SHA-512'), ('RS256', 'RS256 - RSASSA-PKCS1-v1_5 using SHA-256'), ('RS384', 'RS384 - RSASSA-PKCS1-v1_5 using SHA-384'), ('RS512', 'RS512 - RSASSA-PKCS1-v1_5 using SHA-512'), ('PS256', 'PS256 - RSASSA-PSS using SHA-256 and MGF1 padding with SHA-256'), ('PS384', 'PS384 - RSASSA-PSS using SHA-384 and MGF1 padding with SHA-384'), ('PS512', 'PS512 - RSASSA-PSS using SHA-512 and MGF1 padding with SHA-512')]
  • public_key_jwk_uri Char
  • secret_algorithm Selection
    default='HS256' args: [('HS256', 'HS256 - HMAC using SHA-256 hash algorithm'), ('HS384', 'HS384 - HMAC using SHA-384 hash algorithm'), ('HS512', 'HS512 - HMAC using SHA-512 hash algorithm')]
  • secret_key Char
  • signature_type Selection
    required=True args: [('secret', 'Secret'), ('public_key', 'Public key')]
  • static_user_id Many2one → res.users
    default=1 args: 'res.users'
  • user_id_strategy Selection
    default='static' required=True args: [('static', 'Static')]
Public methods (3)
  • create(self, vals)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/16.0/auth_jwt
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSStéphane Bidoul, Weblate, OCA-git-bot, oca-ci, jesusvmayor
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography
pyjwt
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_auth_jwt_validator_form auth.jwt.validator.form auth.jwt.validator form New
view_auth_jwt_validator_tree auth.jwt.validator.tree auth.jwt.validator tree New
Models touched (2)

New fields (19)
  • audience Char
    help='Comma separated list of audiences, to validate aud.' required=True
  • cookie_enabled Boolean
    help='Convert the JWT token into an HttpOnly Secure cookie. When both an Authorization header and the cookie are present in the request, the cookie is ignored.'
  • cookie_max_age Integer
    default=<expr> help='Number of seconds until the cookie expires (Max-Age).'
  • cookie_name Char
    default='authorization'
  • cookie_path Char
    default='/'
  • cookie_secret Char
  • cookie_secure Boolean
    default=True help='Set to false only for development without https.'
  • issuer Char
    help='To validate iss.' required=True
  • name Char
    required=True
  • next_validator_id Many2one → auth.jwt.validator
    domain="[('id', '!=', id)]" help='Next validator to try if this one fails' args: 'auth.jwt.validator'
  • partner_id_required Boolean
  • partner_id_strategy Selection
    args: [('email', 'From email claim')]
  • public_key_algorithm Selection
    default='RS256' args: [('ES256', 'ES256 - ECDSA using SHA-256'), ('ES256K', 'ES256K - ECDSA with secp256k1 curve using SHA-256'), ('ES384', 'ES384 - ECDSA using SHA-384'), ('ES512', 'ES512 - ECDSA using SHA-512'), ('RS256', 'RS256 - RSASSA-PKCS1-v1_5 using SHA-256'), ('RS384', 'RS384 - RSASSA-PKCS1-v1_5 using SHA-384'), ('RS512', 'RS512 - RSASSA-PKCS1-v1_5 using SHA-512'), ('PS256', 'PS256 - RSASSA-PSS using SHA-256 and MGF1 padding with SHA-256'), ('PS384', 'PS384 - RSASSA-PSS using SHA-384 and MGF1 padding with SHA-384'), ('PS512', 'PS512 - RSASSA-PSS using SHA-512 and MGF1 padding with SHA-512')]
  • public_key_jwk_uri Char
  • secret_algorithm Selection
    default='HS256' args: [('HS256', 'HS256 - HMAC using SHA-256 hash algorithm'), ('HS384', 'HS384 - HMAC using SHA-384 hash algorithm'), ('HS512', 'HS512 - HMAC using SHA-512 hash algorithm')]
  • secret_key Char
  • signature_type Selection
    required=True args: [('secret', 'Secret'), ('public_key', 'Public key')]
  • static_user_id Many2one → res.users
    default=1 args: 'res.users'
  • user_id_strategy Selection
    default='static' required=True args: [('static', 'Static')]
Public methods (3)
  • create(self, vals)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/15.0/auth_jwt
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSMaksym Yankin
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:32
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography
pyjwt
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_auth_jwt_validator_form auth.jwt.validator.form auth.jwt.validator form New
view_auth_jwt_validator_tree auth.jwt.validator.tree auth.jwt.validator tree New
Models touched (2)

New fields (12)
  • audience Char
    help='Comma separated list of audiences, to validate aud.' required=True
  • issuer Char
    help='To validate iss.' required=True
  • name Char
    required=True
  • partner_id_required Boolean
  • partner_id_strategy Selection
    args: [('email', 'From email claim')]
  • public_key_algorithm Selection
    default='RS256' args: [('ES256', 'ES256 - ECDSA using SHA-256'), ('ES256K', 'ES256K - ECDSA with secp256k1 curve using SHA-256'), ('ES384', 'ES384 - ECDSA using SHA-384'), ('ES512', 'ES512 - ECDSA using SHA-512'), ('RS256', 'RS256 - RSASSA-PKCS1-v1_5 using SHA-256'), ('RS384', 'RS384 - RSASSA-PKCS1-v1_5 using SHA-384'), ('RS512', 'RS512 - RSASSA-PKCS1-v1_5 using SHA-512'), ('PS256', 'PS256 - RSASSA-PSS using SHA-256 and MGF1 padding with SHA-256'), ('PS384', 'PS384 - RSASSA-PSS using SHA-384 and MGF1 padding with SHA-384'), ('PS512', 'PS512 - RSASSA-PSS using SHA-512 and MGF1 padding with SHA-512')]
  • public_key_jwk_uri Char
  • secret_algorithm Selection
    default='HS256' args: [('HS256', 'HS256 - HMAC using SHA-256 hash algorithm'), ('HS384', 'HS384 - HMAC using SHA-384 hash algorithm'), ('HS512', 'HS512 - HMAC using SHA-512 hash algorithm')]
  • secret_key Char
  • signature_type Selection
    required=True args: [('secret', 'Secret'), ('public_key', 'Public key')]
  • static_user_id Many2one → res.users
    default=1 args: 'res.users'
  • user_id_strategy Selection
    default='static' required=True args: [('static', 'Static')]
Public methods (3)
  • create(self, vals)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/14.0/auth_jwt
VERSION
VERSION 2.1.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSStéphane Bidoul, Enric Tobella, oca-travis, Weblate, OCA-git-bot, oca-ci, Maksym Yankin, Florian Mounier
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_future_response
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography
pyjwt
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_auth_jwt_validator_form auth.jwt.validator.form auth.jwt.validator form New
view_auth_jwt_validator_tree auth.jwt.validator.tree auth.jwt.validator tree New
Models touched (2)

New fields (18)
  • audience Char
    help='Comma separated list of audiences, to validate aud.' required=True
  • cookie_enabled Boolean
    help='Convert the JWT token into an HttpOnly Secure cookie. When both an Authorization header and the cookie are present in the request, the cookie is ignored.'
  • cookie_max_age Integer
    default=<expr> help='Number of seconds until the cookie expires (Max-Age).'
  • cookie_name Char
    default='authorization'
  • cookie_path Char
    default='/'
  • cookie_secure Boolean
    default=True help='Set to false only for development without https.'
  • issuer Char
    help='To validate iss.' required=True
  • name Char
    required=True
  • next_validator_id Many2one → auth.jwt.validator
    domain="[('id', '!=', id)]" help='Next validator to try if this one fails' args: 'auth.jwt.validator'
  • partner_id_required Boolean
  • partner_id_strategy Selection
    args: [('email', 'From email claim')]
  • public_key_algorithm Selection
    default='RS256' args: [('ES256', 'ES256 - ECDSA using SHA-256'), ('ES256K', 'ES256K - ECDSA with secp256k1 curve using SHA-256'), ('ES384', 'ES384 - ECDSA using SHA-384'), ('ES512', 'ES512 - ECDSA using SHA-512'), ('RS256', 'RS256 - RSASSA-PKCS1-v1_5 using SHA-256'), ('RS384', 'RS384 - RSASSA-PKCS1-v1_5 using SHA-384'), ('RS512', 'RS512 - RSASSA-PKCS1-v1_5 using SHA-512'), ('PS256', 'PS256 - RSASSA-PSS using SHA-256 and MGF1 padding with SHA-256'), ('PS384', 'PS384 - RSASSA-PSS using SHA-384 and MGF1 padding with SHA-384'), ('PS512', 'PS512 - RSASSA-PSS using SHA-512 and MGF1 padding with SHA-512')]
  • public_key_jwk_uri Char
  • secret_algorithm Selection
    default='HS256' args: [('HS256', 'HS256 - HMAC using SHA-256 hash algorithm'), ('HS384', 'HS384 - HMAC using SHA-384 hash algorithm'), ('HS512', 'HS512 - HMAC using SHA-512 hash algorithm')]
  • secret_key Char
  • signature_type Selection
    required=True args: [('secret', 'Secret'), ('public_key', 'Public key')]
  • static_user_id Many2one → res.users
    default=1 args: 'res.users'
  • user_id_strategy Selection
    default='static' required=True args: [('static', 'Static')]
Public methods (3)
  • create(self, vals)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/13.0/auth_jwt
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSStéphane Bidoul, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography
pyjwt
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_auth_jwt_validator_form auth.jwt.validator.form auth.jwt.validator form New
view_auth_jwt_validator_tree auth.jwt.validator.tree auth.jwt.validator tree New
Models touched (2)

New fields (12)
  • audience Char
    help='Comma separated list of audiences, to validate aud.' required=True
  • issuer Char
    help='To validate iss.' required=True
  • name Char
    required=True
  • partner_id_required Boolean
  • partner_id_strategy Selection
    args: [('email', 'From email claim')]
  • public_key_algorithm Selection
    default='RS256' args: [('ES256', 'ES256 - ECDSA using SHA-256'), ('ES256K', 'ES256K - ECDSA with secp256k1 curve using SHA-256'), ('ES384', 'ES384 - ECDSA using SHA-384'), ('ES512', 'ES512 - ECDSA using SHA-512'), ('RS256', 'RS256 - RSASSA-PKCS1-v1_5 using SHA-256'), ('RS384', 'RS384 - RSASSA-PKCS1-v1_5 using SHA-384'), ('RS512', 'RS512 - RSASSA-PKCS1-v1_5 using SHA-512'), ('PS256', 'PS256 - RSASSA-PSS using SHA-256 and MGF1 padding with SHA-256'), ('PS384', 'PS384 - RSASSA-PSS using SHA-384 and MGF1 padding with SHA-384'), ('PS512', 'PS512 - RSASSA-PSS using SHA-512 and MGF1 padding with SHA-512')]
  • public_key_jwk_uri Char
  • secret_algorithm Selection
    default='HS256' args: [('HS256', 'HS256 - HMAC using SHA-256 hash algorithm'), ('HS384', 'HS384 - HMAC using SHA-384 hash algorithm'), ('HS512', 'HS512 - HMAC using SHA-512 hash algorithm')]
  • secret_key Char
  • signature_type Selection
    required=True args: [('secret', 'Secret'), ('public_key', 'Public key')]
  • static_user_id Many2one → res.users
    default=1 args: 'res.users'
  • user_id_strategy Selection
    default='static' required=True args: [('static', 'Static')]
Public methods (3)
  • create(self, vals)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/11.0/auth_jwt
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSGitHub, Loïc Faure-Lacroix, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography
jwt
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_auth_jwt_validator_form auth.jwt.validator.form auth.jwt.validator form New
view_auth_jwt_validator_tree auth.jwt.validator.tree auth.jwt.validator tree New
Models touched (2)

New fields (12)
  • audience Char
    help='Comma separated list of audiences, to validate aud.' required=True
  • issuer Char
    help='To validate iss.' required=True
  • name Char
    required=True
  • partner_id_required Boolean
  • partner_id_strategy Selection
    args: [('email', 'From email claim')]
  • public_key_algorithm Selection
    default='RS256' args: [('ES256', 'ES256 - ECDSA using SHA-256'), ('ES256K', 'ES256K - ECDSA with secp256k1 curve using SHA-256'), ('ES384', 'ES384 - ECDSA using SHA-384'), ('ES512', 'ES512 - ECDSA using SHA-512'), ('RS256', 'RS256 - RSASSA-PKCS1-v1_5 using SHA-256'), ('RS384', 'RS384 - RSASSA-PKCS1-v1_5 using SHA-384'), ('RS512', 'RS512 - RSASSA-PKCS1-v1_5 using SHA-512'), ('PS256', 'PS256 - RSASSA-PSS using SHA-256 and MGF1 padding with SHA-256'), ('PS384', 'PS384 - RSASSA-PSS using SHA-384 and MGF1 padding with SHA-384'), ('PS512', 'PS512 - RSASSA-PSS using SHA-512 and MGF1 padding with SHA-512')]
  • public_key_jwk_uri Char
  • secret_algorithm Selection
    default='HS256' args: [('HS256', 'HS256 - HMAC using SHA-256 hash algorithm'), ('HS384', 'HS384 - HMAC using SHA-384 hash algorithm'), ('HS512', 'HS512 - HMAC using SHA-512 hash algorithm')]
  • secret_key Char
  • signature_type Selection
    required=True args: [('secret', 'Secret'), ('public_key', 'Public key')]
  • static_user_id Many2one → res.users
    default=1 args: 'res.users'
  • user_id_strategy Selection
    default='static' required=True args: [('static', 'Static')]
Public methods (3)
  • create(self, vals)
    @api.model
  • unlink(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/server-auth
PULL REQUEST
PULL REQUEST[19.0][MIG] auth_jwt: Migration to 19.0 (#844)