Here is the description of the project:
We want to implement a microsoft account login on our website that redirects the user to the frontend after logging in
But the issue is that the backend should be hosted on HTTPS for the Azure AD services to work.
We have configured the django project for https but we can't proceed further in the panel .
SECURE_SSL_REDIRECT = True
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
SECURE_HSTS_SECONDS = 31536000
We tried adding the SSL certificate to the project and mapping it to a domain.
Our panel is hosted on https and the main domain is also on https but we are unable to host the python project backend on https security.
The project is running on gunicorn.
Earlier the project was working on http but as soon as we shifted it stopped working on https
A detailed solution will be helpful 😀
Thank you.