Use more specific URL for keycloak

This commit is contained in:
decentral1se 2021-06-11 18:14:34 +02:00
parent 011b68c179
commit 65475912c1
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ async def login_keycloak(request: Request):
return await oauth.keycloak.authorize_redirect(request, redirect_uri)
@app.get("/auth")
@app.get("/auth/keycloak")
async def auth(request: Request):
try:
token = await oauth.keycloak.authorize_access_token(request)