Forum Discussion

diwakhat's avatar
11 years ago

Restrict users to register community site with non-corporate email addresses

Hi,

 

Any help regarding how to restrict users to register our community site unless they have a valid corporate email address to register? I tried using linkedin's company API (using oauth), but not to any success so far.

 

Thanks,

Diwakar

3 Replies

  • DougS's avatar
    DougS
    Khoros Oracle
    11 years ago

    oooh, that's a tough one.  I did a quick search and found this blog article which lists some APIs for checking an email address to see if it's a real email address (not sure if one of those will help or not):

     

    http://blog.mashape.com/post/69006514021/list-of-25-email-validation-apis

     

    Is there anything specific to Lithium customization (like how you might call out to an external API) that you would like more information about?

     

    -Doug

  • Thanks for sharing this list; however I coundn't find any API that could verify if the email address is a corporate one or not.

     

    Yes, please share how to call out an external API.

     

    Thanks,

    Diwakar

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    11 years ago

    Hi diwakhat 

     

    I guess it depends on the definiton of "corporate e-mail"  (which sounds very specific for what you are trying to accomplish). I don't think you will find an API that validates an arbitrary e-mail address as "corporate" - really depends on what that means precisely.

     

    In terms of calling an external API in Studio - have a look at this article

     

    Hope this helps,