question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Login into admin does not close the microsoft window and does not reload the page.

See original GitHub issue

Hi,

I just set up microsoft login. I try to login into django admin. The user was created by the plugin and I already gave him staff and admin permission by using a superuser. But the moment the microsoft login is completed, the window shows:

This window should automatically close. If it does not, it should be save to close after a few seconds.
{"microsoft_auth": {}}

But:

  • The window does not close.
  • If I close the window manually the login page does nothing. It does not automatically refresh.

If close manually and afterwards refresh manually the user is logged in. But that can’t be the way a user should log in.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
Casey-Kiewitcommented, Oct 29, 2022

I did some digging into this. Django 4.0 added a security feature that breaks how this page was working. This change causes these two lines to error since window.opener is null.

1reaction
bartTCcommented, Dec 13, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows Admin Center common troubleshooting steps
Installer fails with message: The Module 'Microsoft.PowerShell.LocalAccounts' could not be loaded. I get a This site/page can't be reached error ...
Read more >
You receive an "Administrators only" error message in ...
After you logged on as an administrator, try to visit the Windows Update Web site or the Microsoft Update Web site again. If...
Read more >
Windows Admin Center known issues | Microsoft Learn
Go to Settings > Azure > Unregister, and then register Windows Admin Center with Azure again, making sure you choose to create a...
Read more >
You receive one or more error messages when the system ...
Describes a problem where you receive one or more error messages when Windows Update or Microsoft Update is disabled by the system administrator....
Read more >
"Windows cannot access the specified device, path, or file ...
Troubleshooting error message: Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found