Azure OAuth - add Group mappings to Roles

This commit is contained in:
Steve Shipway
2020-01-03 15:36:38 +13:00
parent 3bf6e6e9f1
commit 765eab999a
4 changed files with 85 additions and 2 deletions

View File

@ -73,6 +73,10 @@ class Setting(db.Model):
'https://login.microsoftonline.com/[tenancy]/oauth2/v2.0/token',
'azure_oauth_authorize_url':
'https://login.microsoftonline.com/[tenancy]/oauth2/v2.0/authorize',
'azure_sg_enabled': False,
'azure_admin_group': '',
'azure_operator_group': '',
'azure_user_group': '',
'oidc_oauth_enabled': False,
'oidc_oauth_key': '',
'oidc_oauth_secret': '',