added a lot of auth code
This commit is contained in:
17
auth/config.py
Normal file
17
auth/config.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from typing import Dict, List
|
||||
|
||||
AUTH_PROVIDERS: Dict[str, Dict[str, str]] = {
|
||||
"KIT OIDC":
|
||||
{
|
||||
"type": "oidc",
|
||||
"url": "auth.oidc"
|
||||
},
|
||||
"Base Login":
|
||||
{
|
||||
"type": "login_form",
|
||||
"url": "auth.base_login"
|
||||
},
|
||||
}
|
||||
|
||||
DEFAULT_PROVIDER: str = "Base Login"
|
||||
#DEFAULT_PROVIDER: str = "KIT OIDC"
|
||||
Reference in New Issue
Block a user