We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question

emendes's profile - activity

2016-12-14 13:26:48 +0200 commented answer Keyrock Token duration

Done. Please give me access to ging/keystone too, in the github.

2016-12-14 12:51:51 +0200 commented answer Keyrock Token duration

Maybe creating a new session [oauth2] inside keystone.conf ?

2016-12-14 11:34:49 +0200 received badge  Notable Question (source)
2016-12-14 11:34:49 +0200 received badge  Famous Question (source)
2016-12-14 01:18:22 +0200 answered a question Keyrock Token duration

I implemented a simple solution to work with OAuth2, using the same configuration of [token] expiration:

In the file "keystone/contrib/oauth2/core.py"

1) import CONF: from keystone import config CONF = config.CONF

2) add this line in "def init" of "class Server", just after the comments: tokenexpiresin=CONF.token.expiration

That is it. Now it is possible to change the token duration in seconds uncommenting "expiration" inside [token] of keystone.conf

2016-12-14 01:11:04 +0200 received badge  Popular Question (source)
2016-12-13 15:41:56 +0200 commented answer Keyrock Token duration

Thank you. Is exactly OAuth2 tokens that I need, because of the proxy Wilma.

2016-12-09 15:58:44 +0200 received badge  Enthusiast
2016-12-07 13:18:02 +0200 received badge  Editor (source)
2016-12-07 13:06:59 +0200 asked a question Keyrock Token duration

Hi,

How do I configure the token duration in my instance of Keyrock? I am trying without success to set "expiration" in the section [token] of the keystone.conf .

Best regards,

Eduardo Mendes

2016-12-05 08:24:39 +0200 answered a question Token duration

Hi, How do I configure this parameter in my instance? I am trying without success to set "expiration" in the section [token] of the keystone.conf . Best regards, Eduardo Mendes

2016-12-05 08:24:38 +0200 commented answer Token duration

Hi, How do I configure this parameter in my instance? I am trying without success to set "expiration" in the section [token] of the keystone.conf . Best regards, Eduardo Mendes