mcp.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Redirect Domains
  6. |--------------------------------------------------------------------------
  7. |
  8. | These domains are the domains that OAuth clients are permitted to use
  9. | for redirect URIs. Each domain should be specified with its scheme
  10. | and host. Domains not in this list will raise validation errors.
  11. |
  12. | An "*" may be used to allow all domains.
  13. |
  14. */
  15. 'redirect_domains' => [
  16. '*',
  17. // 'https://example.com',
  18. // 'http://localhost',
  19. ],
  20. /*
  21. |--------------------------------------------------------------------------
  22. | Allowed Custom Schemes
  23. |--------------------------------------------------------------------------
  24. |
  25. | Native desktop OAuth clients like Cursor and VS Code use private-use URI
  26. | schemes (RFC 8252) for redirect callbacks instead of standard schemes
  27. | like HTTPS. Here, you may list which custom schemes you will allow.
  28. |
  29. */
  30. 'custom_schemes' => [
  31. // 'claude',
  32. // 'cursor',
  33. // 'vscode',
  34. ],
  35. /*
  36. |--------------------------------------------------------------------------
  37. | Authorization Server
  38. |--------------------------------------------------------------------------
  39. |
  40. | Here you may configure the OAuth authorization server issuer identifier
  41. | per RFC 8414. This value appears in your protected resource and auth
  42. | server metadata endpoints. When null, this defaults to `url('/')`.
  43. |
  44. */
  45. 'authorization_server' => null,
  46. ];