cancel
Showing results for 
Search instead for 
Did you mean: 

Change bearer token lifetime on cloud foundry / uaa service

marcus_schiffer
Active Participant
0 Kudos
228

Hi,

we created a web service hosted by a cloud foundry environment and secured by the uaa service.

We call the service with "Authorization bearer {token}" after retrieving the token from ....authentication.eu10.hana.ondemand.com/oauth/token by a post request.

The service is called from another app where we only have the chance to configure an URL and an authorization method. So no way to include the token retrieval process here.

Now the lifetime of the token seems to be 12 h by default. How can we change the lifetime so that the webservice can be called without requesting a new token and updating the configuration every 12 h ?

Any help on this is highly appreciated.

Accepted Solutions (0)

Answers (2)

Answers (2)

marcus_schiffer
Active Participant
0 Kudos

Thanks for the hint. Will try that. Is there a tutorial on how to do create such a client in uaa ?

gregorw
Active Contributor
0 Kudos

I think you try to use the concept which is intended for users for an app which is a client. Please check UAA Concepts - Client.