It is possible through admin REST API to know the available social
providers.
But this sounds like you're re-implementing Keycloak. If you have your
own login form on application side, you need to figure social providers,
but also other things (EG. forget password, registration of users).
Having the form provided by Keycloak itself is really more recommended
way for this.
Marek
On 01/08/18 10:38, Robert Smol wrote:
Marek thanks for hints, when building the form, how do I get to know
which social providers are available?
I mean on keycloak we have username+password + social providers form.
I definitely need to allow the users to login with Facebook,Google+
and others.
This is example of our customised form directly on the keycloak.
http://account.eventival.me/auth/realms/test/protocol/openid-connect/auth...
Robert
On Tue, Jul 31, 2018 at 10:10 PM Marek Posolda <mposolda(a)redhat.com
<mailto:mposolda@redhat.com>> wrote:
Hi,
you can either look at our Themes functionality if you want to
customize
look and feel of login page (See the docs and examples for the
details).
In this case, page will be still displayed by Keycloak server,
just will
have different L&F.
Other possibility is to use OAuth2
Resource-Owner-Password-Credentials-Grant (Direct grant). In this
case,
you can create the form by yourself and then send the
username+password
in the separate HTTP Post request to Keycloak and Keycloak will
return
you back the tokens.
Marek
On 31/07/18 17:26, Robert Smol wrote:
> Hi,
>
> is there any similar project like Auth0 Lock? Something that
would allow me
> to embed Keycloak's login page into my classical web app? Currently
> whenever I need to login the user, I forward him to Keycloak,
but there are
> demands to show the login window directly on our webpage.
>
> Robert
> _______________________________________________
> keycloak-user mailing list
> keycloak-user(a)lists.jboss.org <mailto:keycloak-user@lists.jboss.org>
>
https://lists.jboss.org/mailman/listinfo/keycloak-user
--
stereoIT s.r.o.
Heřmanova 23
107 00 Praha 7
mob: +420 776 76 23 78