Use more specific URL for keycloak
This commit is contained in:
parent
011b68c179
commit
65475912c1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user