You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand that part of the documentation. Those routes are declared but do not target to any controller. Is this normal? (see here)
My case and my issue
I confirmed everything as indicated in the documentation for Azure (resource owner). See below my security.yaml, hwi_oauth.yaml…
I successfully manage to be redirected to Azure in order to log in and, once logged, to be redirected back to my application on the "/login/check-azure" route (as indicated in my security.yaml).
The reply URL looks well in my browser : http://localhost/login/check-azure?code=0.ATEA41mpfLamBE6PWLnLKh_fKxxxxxxxxx
⚠️ But I've got the Symfony error : "Unable to find the controller for path "/login/check-azure". The route is wrongly configured."
This does not surprise me too much because at no time is the controller defined for this route.
What part am I missing? 🤔
hwi_oauth:
# list of names of the firewalls in which this bundle is active, this setting MUST be set
firewall_names: [main]
# https://github.com/hwi/HWIOAuthBundle/blob/master/Resources/doc/2-configuring_resource_owners.md
resource_owners:
azure:
type: azure
client_id: 70a35xxx-xxxx-xxxx-xxxx-xxxx
client_secret: xxxxxxxxxxxxxxx
redirect_uri: xxxxxxxx
options:
application: xxxxxxxx
scope: https://graph.microsoft.com/User.Read
My question
I don't understand that part of the documentation. Those routes are declared but do not target to any controller. Is this normal?
(see here)
My case and my issue
I confirmed everything as indicated in the documentation for Azure (resource owner). See below my security.yaml, hwi_oauth.yaml…
I successfully manage to be redirected to Azure in order to log in and, once logged, to be redirected back to my application on the "/login/check-azure" route (as indicated in my security.yaml).
The reply URL looks well in my browser :
http://localhost/login/check-azure?code=0.ATEA41mpfLamBE6PWLnLKh_fKxxxxxxxxx
This does not surprise me too much because at no time is the controller defined for this route.
What part am I missing? 🤔
Thanks for your help
My config files
routes/hwi_oauth_routing.yaml :
config/hwi_oauth.yaml :
config/security.yaml :
The text was updated successfully, but these errors were encountered: