<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>First login / registration using facebook or google</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112153595" />
  <subtitle>First login / registration using facebook or google</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112153595</id>
  <updated>2026-10-15T11:16:39Z</updated>
  <dc:date>2026-10-15T11:16:39Z</dc:date>
  <entry>
    <title>RE: First login / registration using facebook or google</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114194160" />
    <author>
      <name>Michał Janusz</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114194160</id>
    <updated>2019-07-03T14:00:27Z</updated>
    <published>2019-07-03T14:00:27Z</published>
    <summary type="html">I will answer it myself. Both things required customisations of social login moduls / user service for workaround.&lt;br /&gt;I would say those are more liferay bugs than features &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;&lt;br /&gt;1) Verification email shoudn&amp;#39;t be sant when loging with social media because email is already verified by google or fb.&lt;br /&gt;2) Autogeneration of password automatically invalidates session. It should not happen during social login. </summary>
    <dc:creator>Michał Janusz</dc:creator>
    <dc:date>2019-07-03T14:00:27Z</dc:date>
  </entry>
  <entry>
    <title>First login / registration using facebook or google</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112153594" />
    <author>
      <name>Michał Janusz</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112153594</id>
    <updated>2019-01-28T07:51:40Z</updated>
    <published>2019-01-28T07:51:40Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I have problem with first login using Liferay's built in facebook or
  google social login. It happens only when user didn't logged or
  register to Lifery before and during that login account is created.
  Actually I am not sure if this is one or two separate problems. I am
  using Liferay 7.1 ga2.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;1) Liferay sends emali verification link to the user. Email
  verification is turned on because it is needed for users that
  registers to the portal in a normal way (without fb or google), but
  for social login it is not necessary since email is markd as verified
  automatically. Also verification links that are sent are corrupted
  (don't contain portal base url):&lt;/p&gt;
&lt;p&gt;&amp;quot;http://nullnull/portal/verify_email_address?ticketKey=28b6983e-39cb-e449-a394-1c14457a9902&amp;quot;&lt;/p&gt;
&lt;p&gt;This is not a new problem. It happend also in Liferay 6.2. As a
  workaround we were filtering outgoing email by &amp;quot;nullnull&amp;quot;
  string in mailbox. But I am looking for a proper solution to prevent
  sending this emails.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;2) After first use of facebook or google login button user's account
  is created in database, but the user is redirected back to the login
  page without any message and without being logged in. Second click on
  facebook or google login works properly (user is logged in). Also any
  subsequesnt login actions work ok.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Michał&lt;/p&gt;</summary>
    <dc:creator>Michał Janusz</dc:creator>
    <dc:date>2019-01-28T07:51:40Z</dc:date>
  </entry>
</feed>
