mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 23:18:10 +00:00
feat: add OIDC support
This commit is contained in:
parent
d6dd1c5f31
commit
65b9162ef3
12 changed files with 1256 additions and 644 deletions
|
|
@ -50,4 +50,16 @@ return [
|
|||
],
|
||||
],
|
||||
|
||||
'oidc' => [
|
||||
'enabled' => env('OIDC_ENABLED', false),
|
||||
// OIDC_ENDPOINT can be either:
|
||||
// - Base URL: https://your-provider.com (will append /.well-known/openid-configuration)
|
||||
// - Full well-known URL: https://your-provider.com/.well-known/openid-configuration
|
||||
'endpoint' => env('OIDC_ENDPOINT'),
|
||||
'client_id' => env('OIDC_CLIENT_ID'),
|
||||
'client_secret' => env('OIDC_CLIENT_SECRET'),
|
||||
'redirect' => env('APP_URL', 'http://localhost:8000') . '/auth/oidc/callback',
|
||||
'scopes' => explode(',', env('OIDC_SCOPES', 'openid,profile,email')),
|
||||
],
|
||||
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue