You are here

social_auth_google.routing.yml in Social Auth Google 8.2

Same filename and directory in other branches
  1. 8 social_auth_google.routing.yml
  2. 3.x social_auth_google.routing.yml

File

social_auth_google.routing.yml
View source
  1. social_auth_google.redirect_to_google:
  2. path: 'user/login/google'
  3. defaults:
  4. _controller: '\Drupal\social_auth_google\Controller\GoogleAuthController::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_google.callback:
  11. path: 'user/login/google/callback'
  12. defaults:
  13. _controller: '\Drupal\social_auth_google\Controller\GoogleAuthController::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_google.settings_form:
  20. path: 'admin/config/social-api/social-auth/google'
  21. defaults:
  22. _title: 'Social Auth Google settings'
  23. _form: '\Drupal\social_auth_google\Form\GoogleAuthSettingsForm'
  24. requirements:
  25. _permission: 'administer social api authentication'