feat: OIDC 로그인 연동 및 DB 스키마 업데이트

This commit is contained in:
2026-02-02 09:50:25 +09:00
parent 21b6332c9c
commit a976b8a0c6
30 changed files with 2029 additions and 5 deletions

10
kngil/bbs/oidc_config.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
// /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'],
];