You are here

social_auth_linkedin.routing.yml in Social Auth LinkedIn 8.2

File

social_auth_linkedin.routing.yml
View source
  1. social_auth_linkedin.redirect_to_linkedin:
  2. path: 'user/login/linkedin'
  3. defaults:
  4. _controller: '\Drupal\social_auth_linkedin\Controller\LinkedInAuthController::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_linkedin.callback:
  11. path: 'user/login/linkedin/callback'
  12. defaults:
  13. _controller: '\Drupal\social_auth_linkedin\Controller\LinkedInAuthController::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_linkedin.settings_form:
  20. path: 'admin/config/social-api/social-auth/linkedin'
  21. defaults:
  22. _title: 'Social Auth LinkedIn settings'
  23. _form: '\Drupal\social_auth_linkedin\Form\LinkedInAuthSettingsForm'
  24. requirements:
  25. _permission: 'administer social api authentication'