Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 14 Odoo series since 7.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
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.57 MB
Module directory on disk
Code analysis 0 migration notes 4 models 4 views 3 HTTP endpoints

Description

Allow users to login through OAuth2 Provider.

Dependencies

Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
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 4

XML IDNameModelTypeStatus
providers OAuth Providers ir.ui.view qweb Inherits web.login_oauth
res_config_settings_view_form res.config.settings.view.form.inherit.auth.oauth res.config.settings form Inherits base_setup.res_config_settings_view_form
view_oauth_provider_form auth.oauth.provider.form auth.oauth.provider form New
view_oauth_provider_tree auth.oauth.provider.list auth.oauth.provider list New

HTTP endpoints 3

Route(s)HandlerAuthTypeMethodsFlags
/auth_oauth/oea OAuthController.oea none http ALL
/auth_oauth/signin OAuthController.signin none http ALL
(inherited route override) OAuthLogin.web_login inherited http ALL

Models touched 4

New fields (11)
  • auth_endpoint Char
    required=True string='Authorization URL'
  • body Char
    help='Link text in Login Dialog' required=True string='Login button label' translate=True
  • client_id Char
    string='Client ID'
  • css_class Char
    default='oi oi-fw text-primary' string='CSS class'
  • data_endpoint Char
  • enabled Boolean
    string='Allowed'
  • icon Char
    default='login' string='Custom Material Symbols Icon'
  • name Char
    required=True string='Provider name'
  • scope Char
    default='openid profile email'
  • sequence Integer
    default=10
  • validation_endpoint Char
    required=True string='UserInfo URL'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • init(self, force=False)

New fields (3)
  • auth_oauth_google_client_id Char
    string='Client ID'
  • auth_oauth_google_enabled Boolean
    string='Allow users to sign in with Google'
  • server_uri_google Char
    string='Server uri'
Public methods (3)
  • get_uri(self)
    @api.model
  • get_values(self)
    @api.model
  • set_values(self)

New fields (4)
  • has_oauth_access_token Boolean
    compute='_compute_has_oauth_access_token' string='Has OAuth Access Token'
  • oauth_access_token Char
    copy=False groups=fields.NO_ACCESS prefetch=False readonly=True string='OAuth Access Token Store'
  • oauth_provider_id Many2one → auth.oauth.provider
    string='OAuth Provider' args: 'auth.oauth.provider'
  • oauth_uid Char
    copy=False help='Oauth Provider user_id' string='OAuth User ID'
Public methods (2)
  • auth_oauth(self, provider, params)
    @api.model
  • remove_oauth_access_token(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…