[Hawkular-dev] Keycloak Authentication token
Juraci Paixão Kröhling
jpkroehling at redhat.com
Fri Sep 11 02:31:47 EDT 2015
Mike,
What's the case you have in mind? From the UI, there's already a
Keycloak object that exposes the tokens. From the backend, you should be
able to get the token via a KeycloakPrincipal (a Principal available via
JAAS), but you'd have to use it together with the Hawkular-Persona
header. Depending on your use case, we can discuss making the token
available via Accounts API.
- Juca.
On 09/11/2015 02:06 AM, mike thompson wrote:
> Juca,
>
> Is there an api to get the bearer token set by KeyCloak?
>
> This seems like something we should have easy access to now that we are
> using Web sockets that have their own authentication.
> The current persona contains:
>
> createdAt: "2015-09-10T14:51:06.173Z"
> id: "28026b36-8fe4-4332-84c8-524e173a68bf”
> name: "John Doe"
> updatedAt: "2015-09-10T14:51:06.173Z”
>
> Can we get authenticationToken added to this?
>
> Or is there another better way?
>
>
>
>
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>
More information about the hawkular-dev
mailing list