Mise en place de l'authentification Keycloak

This commit is contained in:
2026-04-13 22:33:56 +02:00
parent 70f693d85b
commit 6202b8b829
25 changed files with 531 additions and 21 deletions

View File

@@ -0,0 +1,62 @@
{
"realm": "chesscubing",
"enabled": true,
"displayName": "ChessCubing",
"registrationAllowed": false,
"rememberMe": true,
"resetPasswordAllowed": true,
"loginWithEmailAllowed": true,
"duplicateEmailsAllowed": false,
"editUsernameAllowed": false,
"sslRequired": "external",
"roles": {
"realm": [
{
"name": "admin",
"description": "Administrateur ChessCubing"
},
{
"name": "organizer",
"description": "Organisateur de rencontre"
},
{
"name": "player",
"description": "Joueur ChessCubing"
}
]
},
"clients": [
{
"clientId": "chesscubing-web",
"name": "ChessCubing Web",
"description": "Client OIDC public pour l'application Blazor WebAssembly.",
"enabled": true,
"protocol": "openid-connect",
"publicClient": true,
"standardFlowEnabled": true,
"directAccessGrantsEnabled": false,
"serviceAccountsEnabled": false,
"implicitFlowEnabled": false,
"frontchannelLogout": true,
"rootUrl": "http://localhost:8080/",
"baseUrl": "http://localhost:8080/",
"redirectUris": [
"http://localhost:8080/*"
],
"webOrigins": [
"http://localhost:8080"
],
"attributes": {
"pkce.code.challenge.method": "S256",
"post.logout.redirect.uris": "http://localhost:8080/*"
},
"defaultClientScopes": [
"web-origins",
"acr",
"profile",
"roles",
"email"
]
}
]
}