Skip to content

Commit 2d54f31

Browse files
[IMP] webservice_server_env: expose new OAuth2 options to server env
The webservice module gained new OAuth2 configuration fields (the token request method, the client authentication method, and the custom Authorization header name and value). These are now also manageable through server environment configuration files, like the other webservice fields.
1 parent 4427e95 commit 2d54f31

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

webservice_server_env/models/webservice_backend.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ def _server_env_fields(self):
2929
"oauth2_authorization_url": {},
3030
"oauth2_token_url": {},
3131
"oauth2_audience": {},
32+
"oauth2_token_method": {},
33+
"oauth2_client_auth_method": {},
34+
"oauth2_client_auth_header": {},
35+
"oauth2_client_auth_value": {},
3236
}
3337
webservice_fields.update(base_fields)
3438
return webservice_fields

0 commit comments

Comments
 (0)