Add jwks_uri and use username
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f2593e209e
commit
0aaf99da97
@ -26,6 +26,7 @@ oauth.register(
|
||||
client_secret=KEYCLOAK_CLIENT_SECRET,
|
||||
authorize_url=f"https://{KEYCLOAK_DOMAIN}/auth/realms/{KEYCLOAK_REALM}/protocol/openid-connect/auth",
|
||||
access_token_url=f"https://{KEYCLOAK_DOMAIN}/auth/realms/{KEYCLOAK_REALM}/protocol/openid-connect/token",
|
||||
jwks_uri=f"https://{KEYCLOAK_DOMAIN}/auth/realms/{KEYCLOAK_REALM}/protocol/openid-connect/certs",
|
||||
)
|
||||
|
||||
|
||||
|
@ -3,6 +3,6 @@
|
||||
<title>Home</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Hello, {{ user }}</p>
|
||||
<p>Hello, {{ user.preferred_username }}</p>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user