[keycloak-user] Authenticate user without using login page

Rodrigo Sasaki rodrigopsasaki at gmail.com
Wed Jul 16 15:35:14 EDT 2014


Just for the sake of conversation, if I did want to handle my own login
page, would there be a way for me to do it?


On Tue, Jul 15, 2014 at 2:35 PM, Rodrigo Sasaki <rodrigopsasaki at gmail.com>
wrote:

> I don't want to miss out on all of that, which is why we're mostly
> migrating everything to use keycloak that way.
>
> It's just that we have cases that are so specific, that it would be better
> to authenticate the user in a different manner, create the user session and
> everything, without redirecting.
>
> I'll have a look at that code. Thanks!
>
>
> On Tue, Jul 15, 2014 at 2:19 PM, Bill Burke <bburke at redhat.com> wrote:
>
>> If you want to handle your own login pages, IMO, you are missing out on
>> a lot of Keycloak features.  Specifically:
>>
>> * SSO
>> * forgot password
>> * admin forced credential reset/setup
>>
>>
>> Login pages can be styled however you like to look like your application.
>>
>> There is a REST api for obtaining an access token.  Here is an example:
>>
>>
>> https://github.com/keycloak/keycloak/blob/master/examples/demo-template/admin-access-app/src/main/java/org/keycloak/example/AdminClient.java
>>
>> On 7/15/2014 12:36 PM, Rodrigo Sasaki wrote:
>> > Is there a way to authenticate the user without having to input username
>> > and password on the login page?
>> >
>> > For example:
>> >
>> > Say there's a situation in my application where I request the user for
>> > his username and password, and I wouldn't like to redirect that to the
>> > keycloak login page to authenticate him, would there be a way for me to
>> > do that?
>> >
>> > --
>> > Rodrigo Sasaki
>> >
>> >
>> > _______________________________________________
>> > keycloak-user mailing list
>> > keycloak-user at 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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>
>
> --
> Rodrigo Sasaki
>



-- 
Rodrigo Sasaki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20140716/86a7f26c/attachment.html 


More information about the keycloak-user mailing list