Дочинили авторизацию

This commit is contained in:
mi
2026-07-16 15:50:34 +03:00
parent d86e663690
commit 3a3d26bd6e
9 changed files with 118 additions and 5 deletions
@@ -60,7 +60,7 @@
"frontchannelLogout": true,
"fullScopeAllowed": false,
"redirectUris": [
"https://chat.han0107.ru/oauth/callback",
"https://chat.han0107.ru/auth/callback",
"han-chat://auth/callback"
],
"webOrigins": [
@@ -74,6 +74,20 @@
"use.refresh.tokens": "true",
"client.use.lightweight.access.token.enabled": "false"
},
"protocolMappers": [
{
"name": "subject",
"protocol": "openid-connect",
"protocolMapper": "oidc-sub-mapper",
"consentRequired": false,
"config": {
"access.token.claim": "true",
"id.token.claim": "true",
"userinfo.token.claim": "true",
"introspection.token.claim": "true"
}
}
],
"defaultClientScopes": ["phone", "han-chat-api"],
"optionalClientScopes": ["offline_access"]
}