Repository
odoo/odoo · module folder
Module version
0.1.0
Category
Hidden/Tools
Folder size
0.58 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-08 22:45:29
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Olivier Dony, Raphael Collet, Thibault Delavallée, Odoo Translation Bot, Denis Ledoux, qsm-odoo, Julien Castiaux, Brice bib Bartoletti, Tiffany Chang (tic), Gorash, Louis Wicket (wil), Dylan Kiss (dyki), Krzysztof Magusiak (krma), Basioni (basm), tarteo, 0yik
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description
Allow users to login through OAuth2 Provider.
=============================================

Code Analysis

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 (10)
  • 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='fa fa-fw fa-sign-in text-primary' string='CSS class'
  • data_endpoint Char
  • enabled Boolean
    string='Allowed'
  • 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' groups='base.group_erp_manager' 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 (3)
  • SELF_READABLE_FIELDS(self)
    @property
  • auth_oauth(self, provider, params)
    @api.model
  • remove_oauth_access_token(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…