These are chat archives for django/django
I have an opinion question for everyone. I am using discourse () along side my web app. The web app itself has a JS frontend and powered by django thru DRF on the backend.
In the past, I have handled authentication nicely with https://github.com/GetBlimp/django-rest-framework-jwt.
But, what I really want is for a user to "login" to one place only, be it on discourse or on my web app. Discourse has this handled nicely and allows for you to implement your own single sign on solution. I am using something adopted from here: https://gist.github.com/alee/3c6161809ef78966454e434a8ed350d1
This works nice but really only allows people credentials to my backend using DRF's
SessionAuthentication. This is not really acceptable to me because my frontend will be on a different domain from my backend.