클라이언트ID&secret key 변경

This commit is contained in:
2026-02-02 10:36:54 +09:00
parent a976b8a0c6
commit 5d52f6d37a

View File

@@ -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'],
];