<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Services usually don’t have a “Remember Me” for social logins. Thus, I don’t recall a pattern for this.&nbsp;</div><div><br></div><div>Here is a proposal for where it could be located. We can improve it as the product develops.</div><div><br></div><div><img apple-inline="yes" id="FB376496-7BA6-4EF0-A332-E4450B0343D0" height="502" width="752" apple-width="yes" apple-height="yes" src="cid:44A14F62-483A-479A-974D-4D5BC6C8879A"></div><div><br></div><div><br></div><div>What do you think?</div><div><br></div><div>Gabriel</div><div><br></div><div><br></div><br><div><div>On Feb 24, 2014, at 12:43 PM, Stian Thorgersen &lt;<a href="mailto:stian@redhat.com">stian@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br><br>----- Original Message -----<br><blockquote type="cite">From: "Bill Burke" &lt;<a href="mailto:bburke@redhat.com">bburke@redhat.com</a>&gt;<br>To: "Stian Thorgersen" &lt;<a href="mailto:stian@redhat.com">stian@redhat.com</a>&gt;, "Gabriel Cardoso" &lt;<a href="mailto:gcardoso@redhat.com">gcardoso@redhat.com</a>&gt;<br>Cc: <a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>Sent: Monday, 24 February, 2014 3:28:40 PM<br>Subject: Re: [keycloak-dev] social login and remember me<br><br><br><br>On 2/24/2014 9:22 AM, Stian Thorgersen wrote:<br><blockquote type="cite">Added Gabriel to see if he has a good idea<br><br>With the current L&amp;F I can only think of two solutions (neither of which I<br>particularly like):<br><br>1. Have it under username/password - probably means no-one is going to<br>associate it with a social login<br>2. Have on under username/password and one under all social logins - I<br>think this will look weird, and not convinced people will associate it<br>with a particular login<br><br></blockquote><br>Above is why I started this email in the first place :( There is no good<br>option with the current L&amp;F.<br><br><blockquote type="cite">Is there a way we can not require this for social logins? Social networks<br>would already provide this mechanism so if we can somehow integrate with<br>that, we wouldn't need it. One idea would be to set a cookie when a user<br>has used a social login, then test if they are still logged in with that<br>automatically.<br><br></blockquote><br>Without "Remember me" the user would have to still be redirected to<br>Keycloak login page and click "Google" or whatever.<br></blockquote><br>Not necessarily. I was thinking something along the lines of:<br><br>* In social callback we set a cookie to remember user last logged in with 'Google'<br>* On next login we check if this cookie is set, if it's set we automatically redirect to login on 'Google' with 'prompt=none'<br>* If we get a code from Google, user is logged in and we can redirect with code. If we get an error, then we display login form<br><br>Probably to complex, and probably won't work with all providers (as they may not provide prompt=none option). Just thinking out of the box ;)<br><br><blockquote type="cite"><br>--<br>Bill Burke<br>JBoss, a division of Red Hat<br><a href="http://bill.burkecentral.com/">http://bill.burkecentral.com</a></blockquote></div></blockquote></div><br><div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>---</div><div>Gabriel Cardoso</div><div>User Experience Designer @ Red Hat</div></div>

</div>
<br></body></html>