feat: OIDC 로그인 연동 및 DB 스키마 업데이트
This commit is contained in:
10
kngil/bbs/oidc_config.php
Normal file
10
kngil/bbs/oidc_config.php
Normal 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'],
|
||||
];
|
||||
Reference in New Issue
Block a user