TIP: You can type at any time to perform a new search.
OAuth2 Authentication
auth_oauth · odoo/odoo
- 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
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Allow users to login through OAuth2 Provider. =============================================
Code Analysis ⓘ
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/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_endpointCharrequired=Truestring='Authorization URL' -
bodyCharhelp='Link text in Login Dialog'required=Truestring='Login button label'translate=True -
client_idCharstring='Client ID' -
css_classChardefault='fa fa-fw fa-sign-in text-primary'string='CSS class' -
data_endpointChar -
enabledBooleanstring='Allowed' -
nameCharrequired=Truestring='Provider name' -
scopeChardefault='openid profile email' -
sequenceIntegerdefault=10 -
validation_endpointCharrequired=Truestring='UserInfo URL'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
init(self, force=False)
New fields (3)
-
auth_oauth_google_client_idCharstring='Client ID' -
auth_oauth_google_enabledBooleanstring='Allow users to sign in with Google' -
server_uri_googleCharstring='Server uri'
-
get_uri(self)@api.model -
get_values(self)@api.model -
set_values(self)
New fields (4)
-
has_oauth_access_tokenBooleancompute='_compute_has_oauth_access_token'groups='base.group_erp_manager'string='Has OAuth Access Token' -
oauth_access_tokenCharcopy=Falsegroups=fields.NO_ACCESSprefetch=Falsereadonly=Truestring='OAuth Access Token Store' -
oauth_provider_idMany2one → auth.oauth.providerstring='OAuth Provider' args: 'auth.oauth.provider' -
oauth_uidCharcopy=Falsehelp='Oauth Provider user_id'string='OAuth User ID'
-
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…