cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
751
Views
0
Helpful
0
Replies
Highlighted
Enthusiast

SAML SSO Authentication with Django REST Framework

I'm currently working on a AngularJS front-end and Django REST back-end. I've been using django-rest-auth in the past to authenticate my connections between the two, but I now have to integrate a SSO authentication using SAML.

I've looked around and decided to use python3-saml, but any of the documentation and use case examples (for this package and any other) are applied for pure Django applications.


I've been basing myself on OneLogin's django/flask guide and I tried making a custom Middleware that would catch my requests, but the implementation of the redirects provided by OneLogin does not work with REST call (obviously). I've also seen some people using the AUTHENTICATION_BACKENDS Django setting and I'm wondering if it's maybe more what I'm looking for.

Thank you

Everyone's tags (2)
CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards