You are here

keycloak.routing.yml in Keycloak OpenID Connect 8

File

keycloak.routing.yml
View source
  1. keycloak.login:
  2. path: 'keycloak/login'
  3. defaults:
  4. _form: '\Drupal\user\Form\UserLoginForm'
  5. _title: 'Log in'
  6. requirements:
  7. _user_is_logged_in: 'FALSE'
  8. options:
  9. _maintenance_access: TRUE
  10. keycloak.logout:
  11. path: 'keycloak/logout'
  12. defaults:
  13. _controller: '\Drupal\keycloak\Controller\KeycloakController::logout'
  14. requirements:
  15. # We always allow logout by hitting this route.
  16. _access: 'TRUE'
  17. options:
  18. no_cache: TRUE