Title: Multisite Auth Loop with Domains
Last modified: January 25, 2026

---

# Multisite Auth Loop with Domains

 *  Resolved [joedurand3](https://wordpress.org/support/users/joedurand3/)
 * (@joedurand3)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/multisite-auth-loop-with-domains/)
 * Hello,
 * I’m having a similar issue to this forum post: [https://wordpress.org/support/topic/assistance-required-2fa-loop-issue-on-multisite-sso-login/](https://wordpress.org/support/topic/assistance-required-2fa-loop-issue-on-multisite-sso-login/)
 * It seems to be due to using a custom domain with my multisite setup. If I set
   the site URL to wordpress.mydomainA.org/siteA, it works fine. However, when I
   change my site’s URL to mydomainB.org, I get an infinite authentication loop.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Marco van Wieren](https://wordpress.org/support/users/wpo365/)
 * (@wpo365)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/multisite-auth-loop-with-domains/#post-18797847)
 * Hi [@joedurand3](https://wordpress.org/support/users/joedurand3/)
 * Thank you for reaching out and sorry to see that things are not working as expected(
   yet)!
 * Have you seen the [documentation](https://docs.wpo365.com/article/29-support-for-wordpress-multisite-wpmu)
   on how WPO365 supports WordPress multisite and that you must configure its so-
   called “dedicated” mode when you’ve configured mapped domains (mapping a custom
   domain to a subsite)? When using mapped domains, the user must also be redirected
   to the correct Redirect URI (that should correspond to the URL that points to
   the mapped domain). So when you change your site’s URL to mydomainB.org, you 
   must also update the Redirect URL on theplugin’s “Single Sign-on” configuration
   page (assuming you already switched to “dedicated” mode on the plugin’s “User
   registration” configuration page). Plus you must also have added that exact same
   URL to the list of Redirect URIs in Entra ID, on the App Registration’s “Authentication”
   page.
 * Hope this helps!
 * -Marco
 *  Thread Starter [joedurand3](https://wordpress.org/support/users/joedurand3/)
 * (@joedurand3)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/multisite-auth-loop-with-domains/#post-18797851)
 * Hi Marco,
 * Thanks for your prompt response. I missed that note after reviewing the documentation
   several times – that’s on me. I’ve switched to dedicated mode and now my sites
   are happy! Thanks for a great plugin and thanks again for your prompt, friendly
   support.
 * Thanks,
   Joe
 *  Plugin Author [Marco van Wieren](https://wordpress.org/support/users/wpo365/)
 * (@wpo365)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/multisite-auth-loop-with-domains/#post-18798125)
 * Hi [@joedurand3](https://wordpress.org/support/users/joedurand3/)
 * Thank you for your feedback and I’m glad you were able to resolve the issue after
   reviewing the documentation!
 * Best wishes
 * -Marco

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmultisite-auth-loop-with-domains%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wpo365-login/assets/icon-256x256.png?rev=2683314)
 * [WPO365 | SEAMLESS WORDPRESS + MICROSOFT INTEGRATION (WPO365 | LOGIN)](https://wordpress.org/plugins/wpo365-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpo365-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpo365-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wpo365-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpo365-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpo365-login/reviews/)

## Tags

 * [domain](https://wordpress.org/support/topic-tag/domain/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marco van Wieren](https://wordpress.org/support/users/wpo365/)
 * Last activity: [2 months, 2 weeks ago](https://wordpress.org/support/topic/multisite-auth-loop-with-domains/#post-18798125)
 * Status: resolved