[keycloak-user] Same access_token and refresh_token

Helio Frota 00hf11 at gmail.com
Mon Apr 25 15:55:10 EDT 2016


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 at 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 at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
>
>
> --
>
> abstractj
> PGP: 0x84DC9914
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160425/a97bf748/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.png
Type: image/png
Size: 147516 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20160425/a97bf748/attachment-0001.png 


More information about the keycloak-user mailing list