]> BookStack Code Mirror - bookstack/blob - app/Config/oidc.php
Started refactor for merge of OIDC
[bookstack] / app / Config / oidc.php
1 <?php
2
3 return [
4
5     // Display name, shown to users, for OpenId option
6     'name' => env('OIDC_NAME', 'SSO'),
7
8     // Dump user details after a login request for debugging purposes
9     'dump_user_details' => env('OIDC_DUMP_USER_DETAILS', false),
10
11     // Attribute, within a OpenId token, to find the user's display name
12     'display_name_claims' => explode('|', env('OIDC_DISPLAY_NAME_CLAIMS', 'name')),
13
14     // OAuth2/OpenId client id, as configured in your Authorization server.
15     'client_id' => env('OIDC_CLIENT_ID', null),
16
17     // OAuth2/OpenId client secret, as configured in your Authorization server.
18     'client_secret' => env('OIDC_CLIENT_SECRET', null),
19
20     // The issuer of the identity token (id_token) this will be compared with what is returned in the token.
21     'issuer' => env('OIDC_ISSUER', null),
22
23     // Public key that's used to verify the JWT token with.
24     // Can be the key value itself or a local 'file://public.key' reference.
25     'jwt_public_key' => env('OIDC_PUBLIC_KEY', null),
26
27     // OAuth2 endpoints.
28     'authorization_endpoint' => env('OIDC_AUTH_ENDPOINT', null),
29     'token_endpoint' => env('OIDC_TOKEN_ENDPOINT', null),
30 ];