Hi Sarp,
I've seen this discussion, but it doesn't solve my problem as far as I
can see: direct grant needs a username and a password to get the access
token for that user.
For impersonation I don't have the password of the second user.
Basically I want to use an access token of the first user and the
username of the second user to receive an access token for the second user.
Regards,
Alexander
Am 17.02.2016 um 15:41 schrieb Sarp Kaya:
Hi Alexander, please follow my Disabling status cookie thread
http://lists.jboss.org/pipermail/keycloak-user/2016-February/004937.html
On 2/17/16, 10:32 PM, "keycloak-user-bounces(a)lists.jboss.org on behalf of
Alexander Schwartz" <keycloak-user-bounces(a)lists.jboss.org on behalf of
alexander.schwartz(a)gmx.net> wrote:
> Hello Keycloak Community,
>
> I want to use impersonate a user via API.
>
> The start point is a logged in user with an access token.
>
> The goal is to have an access and refresh token of an impersonated user.
>
> In a proof-of-concept I've used the impersonation admin API, but this
> returns only cookies and redirects. When I follow the redirects I will
> eventually retrieve access and refresh token.
>
> I wonder if there is a better suited API to obtain them directly.
>
> Thank you very much,
> Alexander
>
> --
> Alexander Schwartz (alexander.schwartz(a)gmx.net)
>
http://www.ahus1.de
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-user
--
Alexander Schwartz (alexander.schwartz(a)gmx.net)
http://www.ahus1.de