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 !


On Fri, Apr 22, 2016 at 11:06 AM, Helio Frota <00hf11@gmail.com> wrote:
Hi,

I'm trying to use this code to refresh a token :

https://github.com/keycloak/keycloak-nodejs-auth-utils/blob/master/lib/grant-manager.js#L207

Also noticed that endpoint changed ^ 

So after to read :

https://keycloak.github.io/docs/userguide/keycloak-server/html/direct-access-grants.html

I modified the url but I can not get a refreshed token

Also, following the example :

https://github.com/keycloak/keycloak/blob/5c98b8c6ae7052b2d906156d8fc212ccd9dfd57d/docbook/auth-server-docs/reference/en/en-US/modules/direct-access.xml#L71-L74

I noticed that access_token is the same as refresh_token.

Questions:

1. Still possible to refresh token ?
2. If yes, how to do it ? [url, parameters... or configuration on Keycloak ?]

Thanks