Advertisement
Guest User

Untitled

a guest
Apr 17th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. FileLoaderLoadException
  2. The routing file "/Users/rmason/sandbox/MTI_Products/app/config/routing.yml" contains unsupported keys for "google_login": "pattern". Expected one of: "re
  3. source", "type", "prefix", "path", "host", "schemes", "methods", "defaults", "requirements", "options", "condition" in /Users/rmason/sandbox/MTI_Products/
  4. app/config/routing.yml (which is being imported from "/Users/rmason/sandbox/MTI_Products/app/config/routing_dev.yml").
  5.  
  6. app:
  7. resource: "@AppBundle/Controller/"
  8. type: annotation
  9.  
  10. fos_user_security:
  11. resource: "@FOSUserBundle/Resources/config/routing/security.xml"
  12.  
  13. fos_user_profile:
  14. resource: "@FOSUserBundle/Resources/config/routing/profile.xml"
  15. prefix: /profile
  16.  
  17. fos_user_register:
  18. resource: "@FOSUserBundle/Resources/config/routing/registration.xml"
  19. prefix: /register
  20.  
  21. fos_user_resetting:
  22. resource: "@FOSUserBundle/Resources/config/routing/resetting.xml"
  23. prefix: /resetting
  24.  
  25. fos_user_change_password:
  26. resource: "@FOSUserBundle/Resources/config/routing/change_password.xml"
  27. prefix: /profile
  28.  
  29.  
  30.  
  31. #hwi_oauth_login:
  32. hwi_oauth_security:
  33. resource: "@HWIOAuthBundle/Resources/config/routing/login.xml"
  34. prefix: /login
  35.  
  36. hwi_oauth_connect:
  37. resource: "@HWIOAuthBundle/Resources/config/routing/connect.xml"
  38. prefix: /login
  39.  
  40. hwi_oauth_redirect:
  41. resource: "@HWIOAuthBundle/Resources/config/routing/redirect.xml"
  42. prefix: /login
  43.  
  44. google_login:
  45. pattern: /login/check-google
  46.  
  47. services:
  48. my_user_provider:
  49. class: '%my_user_provider.class%'
  50. arguments: ['@fos_user.user_manager',{google: google_id}]
  51.  
  52. fos_user:
  53. db_driver: orm
  54. firewall_name: main
  55. user_class: AppBundleEntityMTI_CartUser
  56.  
  57. hwi_oauth:
  58. firewall_names: [main]
  59.  
  60. fosub:
  61. username_iterations: 30
  62. properties:
  63. google: google_id
  64.  
  65. resource_owners:
  66. google:
  67. type: google
  68. client_id: mygoogleclientid
  69. client_secret: mygooglesecret
  70. scope: "email profile"
  71.  
  72. google_login:
  73. pattern: /login/check-google
  74.  
  75. google_login:
  76. path: /login/check-google
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement