This commit is contained in:
parent
0aaf99da97
commit
7a22c6f4e0
@ -21,7 +21,7 @@ templates = Jinja2Templates(directory="templates")
|
|||||||
oauth = OAuth()
|
oauth = OAuth()
|
||||||
oauth.register(
|
oauth.register(
|
||||||
name="keycloak",
|
name="keycloak",
|
||||||
client_kwargs={"scope": "openid profile email offline_access"},
|
client_kwargs={"scope": "openid profile email"},
|
||||||
client_id=KEYCLOAK_CLIENT_ID,
|
client_id=KEYCLOAK_CLIENT_ID,
|
||||||
client_secret=KEYCLOAK_CLIENT_SECRET,
|
client_secret=KEYCLOAK_CLIENT_SECRET,
|
||||||
authorize_url=f"https://{KEYCLOAK_DOMAIN}/auth/realms/{KEYCLOAK_REALM}/protocol/openid-connect/auth",
|
authorize_url=f"https://{KEYCLOAK_DOMAIN}/auth/realms/{KEYCLOAK_REALM}/protocol/openid-connect/auth",
|
||||||
|
Loading…
Reference in New Issue
Block a user