You are here

social_auth_facebook.routing.yml in Social Auth Facebook 3.x

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::redirectToProvider'
  5. requirements:
  6. # Anonymous users can log in, but authenticated users can also associate a new provider.
  7. _access: 'TRUE'
  8. options:
  9. no_cache: TRUE
  10. social_auth_facebook.callback:
  11. path: 'user/login/facebook/callback'
  12. defaults:
  13. _controller: '\Drupal\social_auth_facebook\Controller\FacebookAuthController::callback'
  14. requirements:
  15. # Anonymous users can log in, but authenticated users can also associate a new provider.
  16. _access: 'TRUE'
  17. options:
  18. no_cache: TRUE
  19. social_auth_facebook.settings_form:
  20. path: 'admin/config/social-api/social-auth/facebook'
  21. defaults:
  22. _title: 'Social Auth Facebook settings'
  23. _form: '\Drupal\social_auth_facebook\Form\FacebookAuthSettingsForm'
  24. requirements:
  25. _permission: 'administer social api authentication'