forked from baron/baron-sso
headless login SSA 백엔드 작업
This commit is contained in:
@@ -981,10 +981,8 @@ function ClientGeneralPage() {
|
||||
.map((scope) => scope.name.trim())
|
||||
.filter(Boolean);
|
||||
|
||||
const persistedClientType = headlessLoginEnabled ? "pkce" : clientType;
|
||||
const effectiveTokenEndpointAuthMethod = headlessLoginEnabled
|
||||
? "none"
|
||||
: tokenEndpointAuthMethod;
|
||||
const persistedClientType = headlessLoginEnabled ? "private" : clientType;
|
||||
const effectiveTokenEndpointAuthMethod = tokenEndpointAuthMethod;
|
||||
|
||||
const payload: ClientUpsertRequest = {
|
||||
name,
|
||||
@@ -992,7 +990,8 @@ function ClientGeneralPage() {
|
||||
scopes: scopeNames,
|
||||
tokenEndpointAuthMethod: effectiveTokenEndpointAuthMethod,
|
||||
jwksUri:
|
||||
effectiveTokenEndpointAuthMethod === "private_key_jwt" &&
|
||||
(headlessLoginEnabled ||
|
||||
effectiveTokenEndpointAuthMethod === "private_key_jwt") &&
|
||||
trimmedJwksUri
|
||||
? trimmedJwksUri
|
||||
: undefined,
|
||||
|
||||
Reference in New Issue
Block a user