diff --git a/kngil/bbs/oidc_config.php b/kngil/bbs/oidc_config.php index 7e97170..8fadbd5 100644 --- a/kngil/bbs/oidc_config.php +++ b/kngil/bbs/oidc_config.php @@ -2,9 +2,9 @@ // /kngil/bbs/oidc_config.php return [ - 'issuer' => 'https://YOUR_IDP_ISSUER_URL', // 예: https://idp.example.com/auth/realms/master - 'client_id' => 'YOUR_CLIENT_ID', - 'client_secret' => 'YOUR_CLIENT_SECRET', - 'redirect_url' => (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . "/kngil/auth/oidc-callback.php", - 'scopes' => ['openid', 'profile', 'email'], + 'issuer' => 'https://api.descope.com/v1/apps/P2x26KgEwOu0xIwgNZutJjIZc1zz', // 예: https://idp.example.com/auth/realms/master + 'client_id' => 'UDJ4MjZLZ0V3T3UweEl3Z05adXRKaklaYzF6ejpUUEEzOTVtSmx5MXhiczFwZWxrUHdDVFlvU2hiYXc=', + 'client_secret' => 'uTjiKweHYUINalroA1LVu9OacbEEMPtPbfFITfHu3r5', + 'redirect_url' => "https://kngil.hmac.kr/kngil/auth/oidc-callback.php", + 'scopes' => ['openid'], ];