[keycloak-user] authenticate users programmatically with Java

Erik G. Haugen erik.g.haugen at gmail.com
Thu Aug 30 22:32:07 EDT 2018


Thanks for your reply! That's the issue. Perhaps I can use the client API.
But, I don't see how yet. Does anyone know the actual Java code used to do
the authentication?

Kind regards,

Erik


On Fri, Aug 31, 2018 at 3:18 AM KevinO <oneal.kevin at gmail.com> wrote:

> Can you use the Keycloak Java Client?
>
> https://www.keycloak.org/docs/2.5/authorization_services/topics/service/client-api.htmlhttps://www.keycloak.org/docs/2.5/authorization_services/topics/service/client-api.html
>
> On Thu, Aug 30, 2018 at 7:06 PM Erik G. Haugen <erik.g.haugen at gmail.com>
> wrote:
>
>> I see there an extensive Java API for use with Keycloak, but there is
>> little documentation.
>>
>> How can I authenticate users programmatically with Java?
>>
>> In my Java program, I will have a userid and password. How do I
>> authenticate the user and get a valid token with Java?
>>
>> Also, is there any documentation for basic usage of the Java API?
>>
>> Thank you,
>>
>> Erik
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>


More information about the keycloak-user mailing list