I am integrating Microsoft's login using Django Microsoft Authentication Backend. I have managed to to get a successful response and create a new "Microsoft" user and am able to see it in the admin site if I login to the admin site as a local superuser.
When I login using Microsoft, the pop up window to Microsoft opens, authenticates, and it doesn't redirect to anywhere.

But, with a local non-Microsoft user, it can successfully redirects to the admin panel.
I don't understand why this is so, it doesn't make sense. I have a frontpage constructed that I would like this login page to redirect to after successful login. I have included
LOGIN_REDIRECT_URL = 'home'
LOGOUT_REDIRECT_URL = 'home'
in the settings.py file but that does not change anything.


