Sunday, July 17, 2022

Re: External Authentication with username in header

That sounds like a Single Sign On or a Central Authentication Service. This stackoverflow shows some suggestions https://stackoverflow.com/q/4662348/1431104

Or if your "External Authentication" is a known provider service, you could take a look at django-allauth.

On Sat, Jul 16, 2022 at 5:30 AM Mark Glass <mark.glass@gmail.com> wrote:
I would like to change the link that opens a Django app. Currently the app is launched with GET http://localhost:8000. I would like to include a username and password in the header. The header would be intercepted somehow (Middleware?) and the user marked as authenticated. The app will then launch for the user with a default role.

This will replace a login page and Django internal authentication. 

Can I implement this using middleware? If so, how?

Thank you 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4f1b2a47-6d3d-45e2-9c93-8bbca78d3e34n%40googlegroups.com.


--
Abdul Qoyyuum Bin Haji Abdul Kadir
HP No: +673 720 8043

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA3DN%3DVj_A-ZVGVW8bWTM-f-5g4P8JXfEgN4kNqeot6d01-xAA%40mail.gmail.com.

No comments:

Post a Comment