Ivan G
1 min readFeb 2, 2019

--

I was able to workaround all the issues of having a django application running serverless using a non rds postgres instance. Although regular django auth-model works fine, one of my requirements is to use authenticate with my Office365 accounts. Used django microsfot-auth to make it work in the non serverless version, but I am stuck with an error right after authenticate against the msOauth app. When returning to the /microsoft/auth-callback/ url I get: “An invalid state variable was provided. Please refresh the page and try again later.”. Of course reload does not work, if anyone has any clue, I will greatly appreciate.

--

--

Responses (1)