If you're invoking the admin APIs from a Java application have a look at the admin
Otherwise you can obtain a token using the direct grant mechanism, have a look at the
admin-client example for that.
----- Original Message -----
From: "Lohitha Chiranjeewa" <kalc04(a)gmail.com>
Sent: Tuesday, 31 March, 2015 8:56:10 AM
Subject: [keycloak-user] API Based Authentication and Access Token Retrieval
Due to the nature of our set of applications that are authenticated against
KeyCloak, we have a requirement to access KeyCloak APIs outside of SSO
session(s). So the questions are:
1. Seems that all admin APIs are authenticated with the provided access_token
(Bearer). Are there any other authentication mechanisms?
2. If not, is there a way for us to get the access_token without going
through the browser based login flow? (like a single token provider API
which doesn't expect an authorization_code)
keycloak-user mailing list