analyticsmor.blogg.se

Can t logout of hotmail
Can t logout of hotmail




# In your production app, Microsoft recommends you to use other ways to store your secret, Load_dotenv(os.path.join(basedir, ".env"))ĬLIENT_SECRET = os.environ.get("CLIENT_SECRET") In Azure Portal configured my endpoints like this:Įnvironment variables are configured like this # Oauth - Azure Active Directory and MSALīasedir = os.path.abspath(os.path.dirname(_file_))

can t logout of hotmail

+ url_for("login", _external=True, _scheme="https") # Also logout from your tenant's web session # Wipe out user and its token cache from session With Python, Flask and MSAL 2.0 I did the following: logout(): When it works the sign out screen says something like "Hang on a moment while we sign you out" then it redirects, when it does not work the screen says "you have been signed out, please close your browser"

can t logout of hotmail

I have looked at the suggested related Q's and I have tried a few variations.Įdit it turned out to be an intermitted issue which I guess was due to some cookies / other state not be reset when I was doing my dev / test cycles. It logs me out but does not redirect me back to my app






Can t logout of hotmail