Restrict WordPress Site Based On Email Domains



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 configured domains in the WP SSO plugin. You can allow/deny the user login based on email domains of the users that are present in your OAuth or OpenId Connect provider while doing SSO. This Domain Restriction feature is available in our WordPress OAuth & OpenId Connect Single Sign-On (SSO) Plugin. You can download the plugin using the following link.


How it works?
  • To allow only a particular group of users that can be distinguished by their email domain to login into your WP 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 company domain to login.
  • This feature will secure your website and protect your user’s 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.
  • It has the following 2 ways to use this feature :
    1. 1. Allow users to login with specified domains
      2. Deny users to login with specified domains


Use Case: Restrict Access to users based on email 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 specifies to a certain company. And you want to allow only some company users to login into your WP 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 eg. if you want users of ‘yahoo.com’ to not log in to your site, then you can simply enter yahoo.com in input tag of 'Restricted Domains' and save the settings. By deafult all domains in 'Restricted Domains' field will be restrcited.


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

  • Domain restriction - domain2.com restricted access

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.

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com