We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When copying this section into our own Symfony 6.4 security.yaml:
HWIOAuthBundle/docs/3-configuring_the_security_layer.md
Lines 24 to 42 in c36bf22
It looks like this:
firewalls: # truncated some other firewalls for brevity pimcore_admin: oauth: resource_owners: google: /admin/login/check-google login_path: /admin/login use_forward: false failure_path: /admin/login check_path: /admin/login/2fa-verify # Required somehow success_handler: GoogleSsoBundle\EventListener\AuthenticationLoginListener oauth_user_provider: service: google.oauth_aware.user_provider.service provider: google.oauth_aware.user_provider.service
However, this gives an error:
Invalid firewall "pimcore_admin": user provider "google.oauth_aware.user_provider.service" not found.
It looks like the last line of the higghlighted section is the culprit, commenting it resolves the error message:
#provider: google.oauth_aware.user_provider.service
Is this an oversight in the docs or something we are missing?
The text was updated successfully, but these errors were encountered:
You're right, the provider should be level below, or not set there at all.
provider
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When copying this section into our own Symfony 6.4 security.yaml:
HWIOAuthBundle/docs/3-configuring_the_security_layer.md
Lines 24 to 42 in c36bf22
It looks like this:
However, this gives an error:
It looks like the last line of the higghlighted section is the culprit, commenting it resolves the error message:
#provider: google.oauth_aware.user_provider.service
Is this an oversight in the docs or something we are missing?
The text was updated successfully, but these errors were encountered: