You can. Just add &kc_idp_hint=facebook to the login url and the login will redirect directly to Facebook

On 8 January 2016 at 23:11, Bill Burke <bburke@redhat.com> wrote:
You can't generate it now.  I guess it might be interesting to do this though.  Log a jira please.


On 1/8/2016 2:08 PM, LEONARDO NUNES wrote:
Hi,

I need to create a button for social login that behaves exactly like the one inside of Keycloak login page.
Below is the Link that was generated for the Facebook button:

How can I generate this link?
Is there an API I can call to generate the code parameter?
Is there any other way to add the social login buttons outside of the Keycloak login page?


--
Leonardo Nunes

Esta mensagem pode conter informação confidencial e/ou privilegiada. Se você não for o destinatário ou a pessoa autorizada a receber esta mensagem, não poderá usar, copiar ou divulgar as informações nela contidas ou tomar qualquer ação baseada nessas informações. Se você recebeu esta mensagem por engano, por favor avise imediatamente o remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua cooperação.

This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation


_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com

_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user