[keycloak-user] Autenticating Applications AND users

Sebastien Blanc sblanc at redhat.com
Sat Jun 8 02:12:03 EDT 2019


Hi Rémi,

Have you looked at service accounts ?
https://www.keycloak.org/docs/latest/server_admin/index.html#_service_accounts

I think this is what you are looking for.


Le sam. 8 juin 2019 à 07:28, Rémi GOYARD <r.goyard at groupeonepoint.com> a
écrit :

> Hi guys,
>
> We have a Keycloak installed and configured to authenticate our users on a
> realm.
> Our users are logged in on a single page application (react application)
> then we pass the token to a backend application (using HTTP authorisation
> header) and it works fine !
>
> We have other services / applications (like cron jobs) that need to
> connect and access the backend application, those services do not have any
> users.
> Today we authenticate those services with a single key/value hosted in
> config files (shared between services and backend app), but we would like
> to make this applications authenticated on the backend via Keycloak,
> creating clients on the same realm.
>
> I could not find a way to do it in the documentation (or I did not search
> well) or on Google … The only way I found was to pass the credentials of
> the logged in user to other services, but as those services (like cron
> jobs) are not initiated with a user, how is it possible ?
>
> Is it possible to authenticate applications with Keycloak ?
>
> If Yes does anyone can give me a link or anything that can help me  ?
>
> Thanks
>
> Rémi
>
>
> _______________________________________________
> 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