Issue
Question
What is the best way to prevent users from using an email address that does not end in @mycompany.com from logging in to our internal app through Google auth?
I am new in flutter so can someone provide me the references or tutorial on how to implement this?
Solution
match user email with regex if true then company email else not company email.
RegExp(r"^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[mycompanyname.com]")
Answered By - Raghav shukla Answer Checked By - Senaida (PHPFixing Volunteer)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.