OIDC test - move to www base
This commit is contained in:
1 parent
965d2d084a
commit
d572067cf6
9 files changed
+602
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
session_start();
|
||||
|
||||
/**
|
||||
* Load environment variables. If you don't use phpdotenv,
|
||||
* copy the values from .env directly here.
|
||||
*/
|
||||
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
|
||||
$dotenv->load();
|
||||
|
||||
/**
|
||||
* Basic OIDC configuration – keep all secrets out of source‑control.
|
||||
*/
|
||||
define('OIDC_CLIENT_ID', getenv('OIDC_CLIENT_ID'));
|
||||
define('OIDC_CLIENT_SECRET', getenv('OIDC_CLIENT_SECRET'));
|
||||
define('OIDC_REDIRECT_URI', getenv('OIDC_REDIRECT_URI'));
|
||||
define('OIDC_AUTH_ENDPOINT', getenv('OIDC_AUTH_ENDPOINT'));
|
||||
define('OIDC_TOKEN_ENDPOINT', getenv('OIDC_TOKEN_ENDPOINT'));
|
||||
define('OIDC_USERINFO_ENDPOINT', getenv('OIDC_USERINFO_ENDPOINT'));
|
||||
define('OIDC_LOGOUT_ENDPOINT', getenv('OIDC_LOGOUT_ENDPOINT'));
|
||||
define('OIDC_POST_LOGOUT_REDIRECT_URI', getenv('OIDC_POST_LOGOUT_REDIRECT_URI'));
|
||||
Reference in new issue
Block a user