DAVIDhaker/django-sso

Page not found http://localhost/sso/accept/

Closed this issue · 1 comments

When I'm getting redirected to server's login page I'm getting an exception:

Page not found (404)
Request Method: | GET
http://localhost/sso/accept/
django.views.static.serve

Which is somehow logical, as localhost is my server and /sso/accept/ is a client's view.

In the server's console there is:
ERROR | Incorrect response from subordinated service: STATUS=403; TEXT=
followed by an html which says:
Forbidden (403). CSRF verification failed. Request aborted.

What am I doing wrong? Both projects are running locally, I've set up the hosts according to your instructions. May it be due to the fact that I'm not using https but plain http?

Ok, I got it, it was not clear for me that I had to use the client's url in the Subordinated services settings, although you wrote it correctly in the readme