[keycloak-user] Generate Social Login Button Link
Stian Thorgersen
sthorger at redhat.com
Mon Jan 11 03:08:45 EST 2016
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 at 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:
>
> http://localhost:8080/auth/realms/facebook-identity-provider-realm/broker/facebook/login?code=yK04T2nBA534MQZBJuUyrxLylZLLVva272s06gRjqAk.73604a88-2b05-46f4-a570-019445581d6b
>
> 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 listkeycloak-user at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/keycloak-user
>
>
> --
> Bill Burke
> JBoss, a division of Red Hathttp://bill.burkecentral.com
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160111/7d879081/attachment-0001.html
More information about the keycloak-user
mailing list