You are here

social_auth_facebook.routing.yml in Social Auth Facebook 8

File

social_auth_facebook.routing.yml
View source
  1. social_auth_facebook.redirect_to_fb:
  2. path: 'user/login/facebook'
  3. defaults:
  4. _controller: '\Drupal\social_auth_facebook\Controller\FacebookAuthController::redirectToFb'
  5. requirements:
  6. _role: 'anonymous'
  7. options:
  8. no_cache: TRUE
  9. social_auth_facebook.return_from_fb:
  10. path: 'user/login/facebook/callback'
  11. defaults:
  12. _controller: '\Drupal\social_auth_facebook\Controller\FacebookAuthController::returnFromFb'
  13. requirements:
  14. _role: 'anonymous'
  15. options:
  16. no_cache: TRUE
  17. social_auth_facebook.settings_form:
  18. path: 'admin/config/social-api/social-auth/facebook'
  19. defaults:
  20. _title: 'Social Auth Facebook settings'
  21. _form: '\Drupal\social_auth_facebook\Form\FacebookAuthSettingsForm'
  22. requirements:
  23. _permission: 'administer social api authentication'