Skip to content
Snippets Groups Projects
Commit f0d66ec5 authored by Richard Mathot's avatar Richard Mathot
Browse files

[IMP] auth_oauth: avoid invalid providers

parent 160ddc02
No related branches found
No related tags found
No related merge requests found
......@@ -8,15 +8,15 @@ class auth_oauth_provider(osv.osv):
_order = 'name'
_columns = {
'name' : fields.char('Provider name'), # Name of the OAuth2 entity, Google, LinkedIn, etc
'name' : fields.char('Provider name', required=True), # Name of the OAuth2 entity, Google, LinkedIn, etc
'client_id' : fields.char('Client ID'), # Our identifier
'auth_endpoint' : fields.char('Authentication URL'), # OAuth provider URL to authenticate users
'auth_endpoint' : fields.char('Authentication URL', required=True), # OAuth provider URL to authenticate users
'scope' : fields.char('Scope'), # OAUth user data desired to access
'validation_endpoint' : fields.char('Validation URL'), # OAuth provider URL to validate tokens
'validation_endpoint' : fields.char('Validation URL', required=True),# OAuth provider URL to validate tokens
'data_endpoint' : fields.char('Data URL'),
'enabled' : fields.boolean('Allowed'),
'css_class' : fields.char('CSS class'),
'body' : fields.char('Body'),
'body' : fields.char('Body', required=True),
'sequence' : fields.integer(),
}
_defaults = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment