<div dir="ltr">Hi,<div><br></div><div>Doing exact the same as:</div><div><a href="http://keycloak.github.io/docs/userguide/keycloak-server/html_single/index.html#direct-access-grants">http://keycloak.github.io/docs/userguide/keycloak-server/html_single/index.html#direct-access-grants</a><br></div><div><br></div><div><br></div><div>I&#39;m getting the same value for  &quot;access_token&quot; and &quot;refresh_token&quot;</div><div><br></div><div>Is needed configure something to get the same behavior described on docs ?</div><div><br></div><div>Thanks !</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 22, 2016 at 11:06 AM, Helio Frota <span dir="ltr">&lt;<a href="mailto:00hf11@gmail.com" target="_blank">00hf11@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I&#39;m trying to use this code to refresh a token :</div><div><br></div><div><a href="https://github.com/keycloak/keycloak-nodejs-auth-utils/blob/master/lib/grant-manager.js#L207" target="_blank">https://github.com/keycloak/keycloak-nodejs-auth-utils/blob/master/lib/grant-manager.js#L207</a><br></div><div><br></div><div>Also noticed that endpoint changed ^ </div><div><br></div><div>So after to read :</div><div><br></div><div><a href="https://keycloak.github.io/docs/userguide/keycloak-server/html/direct-access-grants.html" target="_blank">https://keycloak.github.io/docs/userguide/keycloak-server/html/direct-access-grants.html</a><br></div><div><br></div><div>I modified the url but I can not get a refreshed token</div><div><br></div><div>Also, following the example :</div><div><br></div><div><a href="https://github.com/keycloak/keycloak/blob/5c98b8c6ae7052b2d906156d8fc212ccd9dfd57d/docbook/auth-server-docs/reference/en/en-US/modules/direct-access.xml#L71-L74" target="_blank">https://github.com/keycloak/keycloak/blob/5c98b8c6ae7052b2d906156d8fc212ccd9dfd57d/docbook/auth-server-docs/reference/en/en-US/modules/direct-access.xml#L71-L74</a><br></div><div><br></div><div>I noticed that access_token is the same as refresh_token.</div><div><br></div><div>Questions:</div><div><br></div><div>1. Still possible to refresh token ?</div><div>2. If yes, how to do it ? [url, parameters... or configuration on Keycloak ?]</div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>