Closed timothyjeffcoat closed 8 years ago
I went ahead and put both of those projects at the following
I have several thoughts about the problem.
1) Do you have assigned role in your current authenticated user? (ROLE_USER
)
2) Try to change security.yml in this way:
access_control:
- { path: ^/sso/login/?$, roles: [ROLE_USER, IS_AUTHENTICATED_FULLY] }
I do have both users having roles enabled.
I have updated my access_control as you indicated.
i still have the same problem.
I should clarify something.
When I click the consumer1.com I am redirected to the idp.example.com and receive the error 500 without being given the opportunity to see the login page.
I was thinking that with the sso/login directive that I would be able to see a login page provided by the SSO bundle? If not, and I am suppose to see the login page provided by the Symfony Demo then that is a problem cause I am not seeing it.
Could you add me to skype? "rmpic30" I'll try to help.
ok, i have done that.
OK for the history the problem was because you have only one secured_area
firewall on /admin
url.
Close due to no activity here.
Hello again. Sorry about being a pain. I am having troubles with this again.
What I have done is create two symfony demo projects. One as idp and the other as sp.
At the moment I have the SP configured as consumer1.com and when I go to that url I am directed to the IDP login page (idp.example.com). I am using the default sqlite db with the demo data defaults with the two user entries (one admin and one user). Along with the load fixtures data for blog entries.j
When I login as the admin at the IDP I get the following exception in my log file
https://gist.github.com/timothyjeffcoat/152411549e448178595e98075d78f24e
I know the log says "One possible reason may be that there is no firewall configured for this URL" but I am not sure what to do about that.
My IDP security.yml is https://gist.github.com/timothyjeffcoat/5fceffbdd30ee6f0bf6f177899841aad
if you could point me in a direction of what I have done wrong that will be much appreciated.
Thanks