Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 13 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.28 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

This module allows users to login through an OpenID Connect provider using the authorization code flow or implicit flow.

Note the implicit flow is not recommended because it exposes access tokens to the browser and in http logs.

Dependencies

Odoo dependencies
Python dependencies
python-jose
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
view_oidc_provider_form auth.oidc.provider.form auth.oauth.provider form Inherits auth_oauth.view_oauth_provider_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (7)
  • client_secret Char
    help='Used in OpenID Connect authorization code flow for confidential clients.'
  • code_verifier Char
    default=<expr> help='Used for PKCE.'
  • flow Selection
    default='access_token' required=True string='Auth Flow' args: [('access_token', 'OAuth2'), ('id_token_code', 'OpenID Connect (authorization code flow)'), ('id_token', 'OpenID Connect (implicit flow, not recommended)')]
  • jwks_uri Char
    help='Required for OpenID Connect.' string='JWKS URL'
  • token_endpoint Char
    help='Required for OpenID Connect authorization code flow.' string='Token URL'
  • token_map Char
    help="Some Oauth providers don't map keys in their responses exactly as required. It is important to ensure user_id and email at least are mapped. For OpenID Connect user_id is the sub key in the standard."
  • validation_endpoint Char
    required=False
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • auth_oauth(self, provider, params)
    @api.model

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…