[keycloak-user] Ajax login
Stian Thorgersen
sthorger at redhat.com
Tue Jan 5 02:44:15 EST 2016
You can use the Resource Owner Password Credentials (we call it direct
grant) flow from OAuth2 with Keycloak. That let's you exchange a
username/password for a token.
We highly recommend you stick with the redirect based login though. It's
more secure and you get a lot of extra features that way (required actions,
totp, reset password, SSO, etc, etc)
On 4 January 2016 at 20:11, Helder dos S. Alves <helder.jaspion at gmail.com>
wrote:
> Hi everybody.
>
> I'm new to Keycloak and I wonder if is possible to login via ajax without
> redirecting to a login page.
> Maybe anyone has already asked it (and others answered it, I hope), but I
> could not find a way to search on older topics.
>
> Thanks in advance.
>
> Helder Alves
>
> _______________________________________________
> 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/20160105/74931fd6/attachment.html
More information about the keycloak-user
mailing list