text4u

oauth.php 715B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. return [
  3. 'enabled' => env('STATAMIC_OAUTH_ENABLED', false),
  4. 'email_login_enabled' => true,
  5. 'providers' => [
  6. // 'github',
  7. ],
  8. 'routes' => [
  9. 'login' => 'oauth/{provider}',
  10. 'callback' => 'oauth/{provider}/callback',
  11. ],
  12. /*
  13. |--------------------------------------------------------------------------
  14. | Remember Me
  15. |--------------------------------------------------------------------------
  16. |
  17. | Whether or not the "remember me" functionality should be used when
  18. | authenticating using OAuth. When enabled, the user will remain
  19. | logged in indefinitely, or until they manually log out.
  20. |
  21. */
  22. 'remember_me' => true,
  23. ];