Thank you for reply, I tried to get same error and I did as I said in this article and I got same error. I found the solution.
You have to insert these lines. security and knpu_oauth2_client must be same level for yaml format. Don't push knpu_oauth2_client to under security section.
security:# https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loadedproviders:my_provider:entity:{class:App:User,property:username}firewalls:# disables authentication for assets and the profiler, adapt it according to your needsdev:pattern:^/(_(profiler|wdt)|css|images|js)/security:falsemain:anonymous:~logout:path:/logouttarget:/loginlogout_on_user_change:trueguard:authenticators:-App\Security\GoogleAuthenticatorknpu_oauth2_client:clients:google:type:googleclient_id:'%env(resolve:GOOGLE_CLIENT_ID)%'client_secret:'%env(resolve:GOOGLE_CLIENT_SECRET)%'redirect_route:connect_google_checkredirect_params:{}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi fellas,
Thank you for reply, I tried to get same error and I did as I said in this article and I got same error. I found the solution.
You have to insert these lines. security and knpu_oauth2_client must be same level for yaml format. Don't push knpu_oauth2_client to under security section.