Re: UAA: How to set client_credentials token grant type to not expire
Filip,toggle quoted message Show quoted text
Here's my client config:
scope: clients.read oauth.approvals openid password.write tokens.read
authorized_grant_types: authorization_code client_credentials password
authorities: scim.read scim.userids uaa.admin uaa.resource clients.read
scim.write cloud_controller.write scim.me clients.secret password.write
clients.write openid cloud_controller.read oauth.approvals
Gotten from `uaac clients`
I really do not know what else I might be doing wrongly.
Does `test_Token_Expiry_Time()` also cover for client_credentials grant
type? I tried running the test with
and placed debuggers in order to view the generated expiration time.
Nothing was printed in the test results.
On Wed, Jul 29, 2015 at 6:11 PM, Filip Hanik <fhanik(a)pivotal.io> wrote:
exp is expected to be 1753544877 when decoded. Unfortunately, this testfails, as exp reads 1438228276