Yes, we try to contribute as much back as possible. However, we’re a bit resource strapped right now and a proper PR would require full test coverage and documentation updates.

If Keycloak maintainers think our patch looks acceptable and want us to contribute, I’ll spend the time on a proper PR.

Scott Rossillo
Smartling | Senior Software Engineer

On May 13, 2016, at 3:25 PM, Anshul Malpani <anshulm@stytch.com> wrote:

Hi Bill,

Thanks great change. Its something we don’t want to fork off the repository and maintain by ourselves. I am wondering if we can create a pull request and submit to master branch?

Thanks
A



On May 12, 2016, at 10:43 AM, Scott Rossillo <srossillo@smartling.com> wrote:

Adding back mailing list. See below.

On May 12, 2016, at 1:39 PM, Scott Rossillo <srossillo@smartling.com> wrote:

We have a way to do in on our fork. It relies on a hard coded role to determine who can impersonate but the rest of the code is probably reusable.

https://github.com/Smartling/keycloak/commit/06ac25bf24110061d3cb66ee8c62a726199000bb

Scott Rossillo
Smartling | Senior Software Engineer

On May 12, 2016, at 11:20 AM, Bill Burke <bburke@redhat.com> wrote:

You can't impersonate progammatically at the moment.


On 5/12/16 1:24 AM, Anshul Malpani wrote:
Hi,

I am trying to use impersonate feature using my java client. When I call impersonate api using admin access grant. I get back the cookies. How can I get the access token for the impersonate user.



HttpPost post = new HttpPost(
                    KeycloakUriBuilder.fromUri(authServerUrl).path(/admin/realms/{realm}/users/{id}/impersonation").build(realmaccountKeycloakId));

This is returning me cookies. In next step I would like to get the access token of impersonate user.

Thanks

On Wed, May 11, 2016 at 3:25 PM, Anshul Malpani <anshulm@stytch.com> wrote:
Hi,

I am trying to use impersonate feature using my java client. When I call impersonate api using admin access grant. I get back the cookies. How can I get the access token for the impersonate user.



HttpPost post = new HttpPost(
                    KeycloakUriBuilder.fromUri(authServerUrl).path(/admin/realms/{realm}/users/{id}/impersonation").build(realm, accountKeycloakId));

This is returning me cookies. In next step I would like to get the access token of impersonate user.

Thanks
A





_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev

_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev


_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev