OAuth2 Authentication
auth_oauth · odoo/odoo
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 14 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
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
- 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 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 (11)
-
auth_endpointCharrequired=Truestring='Authorization URL' -
bodyCharhelp='Link text in Login Dialog'required=Truestring='Login button label'translate=True -
client_idCharstring='Client ID' -
css_classChardefault='oi oi-fw text-primary'string='CSS class' -
data_endpointChar -
enabledBooleanstring='Allowed' -
iconChardefault='login'string='Custom Material Symbols Icon' -
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'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'
-
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…