<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: susi</title>
    <description>The latest articles on DEV Community by susi (@bucker).</description>
    <link>https://dev.to/bucker</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F386701%2F9c11c95e-b90a-444e-8594-92a122ff8b69.png</url>
      <title>DEV Community: susi</title>
      <link>https://dev.to/bucker</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bucker"/>
    <language>en</language>
    <item>
      <title>Why separate username and password into two pages?</title>
      <dc:creator>susi</dc:creator>
      <pubDate>Sun, 21 Feb 2021 07:44:25 +0000</pubDate>
      <link>https://dev.to/bucker/why-separate-username-and-password-into-two-pages-1aoh</link>
      <guid>https://dev.to/bucker/why-separate-username-and-password-into-two-pages-1aoh</guid>
      <description>&lt;p&gt;Answer: Because the username/password isn't the only way to login.&lt;/p&gt;

&lt;p&gt;If we want to support both &lt;a href="https://en.wikipedia.org/wiki/Single_sign-on"&gt;SSO&lt;/a&gt; and username/password login, the first thing we need to do is to check which way the user has been using.&lt;/p&gt;

&lt;p&gt;For example, if the user is using the Google SSO, then you check the email, make sure he/she is using the Google SSO, then show the Google SSO option.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://bradfrost.com/blog/post/dont-get-clever-with-login-forms/"&gt;For someone who thinks the username/password is the best way to login&lt;/a&gt;, it's not surprising that they feel cumbersome and "user-unfriendly" for splitting the username and password into two pages.&lt;/p&gt;

&lt;p&gt;Still, if you want a single page to handle both SSO and username/password login, based on &lt;a href="https://www.twilio.com/blog/why-username-and-password-on-two-different-pages"&gt;this article&lt;/a&gt;, there are two options:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Show SSO options after the user types the email&lt;/li&gt;
&lt;li&gt;Optional password field&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
  </channel>
</rss>
