Hi Bruno,

You mean this ? : 
https://github.com/keycloak/keycloak/blob/master/examples/admin-client/example-realm.json#L8-L38

I'm using this generated by KC server:
https://gist.github.com/helio-frota/6a8293d0ba57e53f19837462aa4ad265

The project is:
https://github.com/keycloak/keycloak-nodejs-auth-utils/

In this case the function is:
https://github.com/keycloak/keycloak-nodejs-auth-utils/blob/master/lib/grant-manager.js#L195

And after change the URL and parameters to the new way, I'm still getting the same token

[ screenshot attached ]

Thanks



On Mon, Apr 25, 2016 at 4:21 PM, Bruno Oliveira <bruno@abstractj.org> wrote:
Ahoy, have you tried to look at this: https://github.com/keycloak/keycloak/tree/master/examples/admin-client ?

btw if what you're doing is OSS, just share your codebase and I can try
to look at this.

On 2016-04-25, Helio Frota wrote:
> Hi,
>
> Doing exact the same as:
>
> http://keycloak.github.io/docs/userguide/keycloak-server/html_single/index.html#direct-access-grants
>
>
> I'm getting the same value for  "access_token" and "refresh_token"
>
> Is needed configure something to get the same behavior described on docs ?
>
> Thanks !

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


--

abstractj
PGP: 0x84DC9914