amber-laravel/config/oauth.php
2024-07-24 00:40:44 +08:00

17 lines
396 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
return [
'client_id' => env('OAUTH_CLIENT_ID'),
'client_secret' => env('OAUTH_CLIENT_SECRET'),
'discovery' => env('OAUTH_DISCOVERY_URL'),
// 如果启用,将拒绝不匹配的 aud
'force_aud' => false,
// 信任 aud。默认为空如果你允许其他应用调用 api你可以填写。
'trusted_aud' => [
// 1,2,3
11,
],
];