Open igonnasay opened 5 years ago
When i use this setting: url(r'^login/$', django_saml2_auth.views.signin), from OKTA backend, i can see "User single sign on to app (success)". So I think this url mapping should be correct. However, the infinate redirection loop is crazy ...
Did you manage to make it work? Please look into my code, it works fine in the current version. Let me know if you need any support with this.
Wried, after configuration with OKTA, if I had logged in my application (not using smal), then I can login with SAML from OKta and automatically change to the Okta user correctly. However, if i had not logged in, when i try login with SMAL from Okta then: 1) if my urls.py with setting: url(r'^accounts/login/$', django_saml2_auth.views.signin), my application will goto {domain}/login/ page without SAML, I need to type username and password for login.
2) if my urls.py with setting: url(r'^login/$', django_saml2_auth.views.signin), this is an infinate loop between /login /acs.
BTW, my application is https://github.com/hhyo/Archery.
Could you point out what's issue?