You are here

auth0.routing.yml in Auth0 Single Sign On 8.2

Same filename and directory in other branches
  1. 8 auth0.routing.yml

File

auth0.routing.yml
View source
  1. auth0.login:
  2. path: '/user/login'
  3. defaults:
  4. _controller: '\Drupal\auth0\Controller\AuthController::login'
  5. _title: 'Log in'
  6. requirements:
  7. _access: 'TRUE'
  8. options:
  9. _maintenance_access: TRUE
  10. auth0.legacy_login:
  11. path: '/user/login/legacy'
  12. defaults:
  13. _form: '\Drupal\user\Form\UserLoginForm'
  14. _title: 'Log in'
  15. requirements:
  16. _access: 'TRUE'
  17. options:
  18. _maintenance_access: TRUE
  19. auth0.callback:
  20. path: '/auth0/callback'
  21. defaults:
  22. _controller: '\Drupal\auth0\Controller\AuthController::callback'
  23. requirements:
  24. _access: 'TRUE'
  25. auth0.logout:
  26. path: '/user/logout'
  27. defaults:
  28. _controller: '\Drupal\auth0\Controller\AuthController::logout'
  29. requirements:
  30. _access: 'TRUE'
  31. auth0.verify_email:
  32. path: '/auth0/verify_email'
  33. defaults:
  34. _controller: '\Drupal\auth0\Controller\AuthController::verify_email'
  35. requirements:
  36. _access: 'TRUE'
  37. auth0.settings:
  38. path: '/admin/config/auth0'
  39. defaults:
  40. _form: '\Drupal\auth0\Form\BasicSettingsForm'
  41. _title: 'Auth0 Login Settings'
  42. requirements:
  43. _permission: 'administer site configuration'
  44. auth0.advanced_settings:
  45. path: '/admin/config/auth0/advanced'
  46. defaults:
  47. _form: '\Drupal\auth0\Form\BasicAdvancedForm'
  48. _title: 'Configure your auth0 account and widget.'
  49. requirements:
  50. _permission: 'administer site configuration'