Search Results :

×

Restrict WordPress SSO Login Based on Email Domains (Domain Restriction)

Do you want to limit/restrict login for SSO users based on email domains? This feature allows you to restrict the SSO users login based on the domains configured in the OAuth Single Sign On (SSO) Plugin for WordPress. You can allow/deny the user login based on the email domains of the users that are present in your OAuth or OpenID Connect provider while performing Single Sign-On (SSO). This Domain Restriction feature is available in our OAuth & OpenID Connect Single Sign-On (SSO) Plugin for WordPress. You can download the plugin using the button below and follow the steps to set up domain based login restriction on your WordPress site.

Explore Our SAML Single Sign-On Solution for WordPress Know more Open in new tab

  • To allow only a particular group of users, that can be distinguished by their email domain, to login into your WordPress site, you can use this Domain Restriction feature.
  • This feature is best suited when you have an organizational website and you want to only allow users with the company domain to login.
  • This feature secures your website and protects your users' information over the internet, ensuring that valuable resources do not fall prey to unauthorized parties.
  • Domain Restriction provides the functionality to allow or restrict the users of a particular domain to login or register.
  • There are the following 2 ways to use this feature:
    • Allow users to login with specified domains.
    • Deny users to login with specified domains.

  • You have multiple users in your OAuth / OpenID provider having different email domains. Eg: domain1.com (gmail.com), domain2.com (yahoo.com) ... domain(n).com. Each domain belongs to a certain company, and you want to allow only some company users to login into your WordPress site using their provider's credentials. In that case, you can restrict other company users based on their email domains.
  • Only domain1.com (gmail.com) allowed access:
  • Domain Restriction - Restrict access to users based on email domains
  • Now, for example, if you want users of 'yahoo.com' to not log in to your site, simply enter yahoo.com in the 'Restricted Domains' field and save the settings.

    Note - Domain Restriction

    Note: By default, all domains entered in the 'Restricted Domains' field will be restricted from logging in.


  • Domain Restriction - Restricted Domains setting
  • domain2.com (yahoo.com) restricted access:
  • Domain Restriction - domain2.com restricted access

    You have successfully configured Domain Restriction to allow/deny WordPress SSO login based on the email domains of your users.




Need Help - Domain Restriction

Need Help? Mail us on oauthsupport@xecurify.com for quick guidance (via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.


 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again

We'll Reach Out to You at the Earliest!


ADFS_sso ×
Hello there!

Need Help? We are right here!

support