feat: Google OAuth for login & signup (#6346)
This PR adds Google OAuth for all existing users, allowing users to log in or sign up via their Google account. --------- Co-authored-by: Pranav Raj S <pranav@chatwoot.com> Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com> Co-authored-by: Sojan <sojan@pepalo.com>
This commit is contained in:
6
app/helpers/email_helper.rb
Normal file
6
app/helpers/email_helper.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
module EmailHelper
|
||||
def extract_domain_without_tld(email)
|
||||
domain = email.split('@').last
|
||||
domain.split('.').first
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user