Skip to main content
Solved

How To Make Token Expired Longer ?

  • January 12, 2021
  • 2 replies
  • 297 views

bhaktiutama
Sidekick (Customer)
Forum|alt.badge.img+8

I want to make the REST API token from IFS 10 is longer than 3600s. How can I change that value?

Best answer by Björn Kihlström

Hello.

There are some startup parameters that can be added to the server to influence the database identity provider. One of those controls the access token lifetime. See here for more information:
https://docs.ifs.com/techdocs/Foundation1/040_administration/210_security/015_authentication/040_configure_DBIDP/default.htm#Configure_behaviour_through_startup_paramters

Best regards, Björn.

View original
This topic has been closed for comments

2 replies

Björn Kihlström
Do Gooder (Former Employee)
Forum|alt.badge.img+3
  • Do Gooder (Former Employee)
  • 9 replies
  • Answer
  • January 12, 2021

Hello.

There are some startup parameters that can be added to the server to influence the database identity provider. One of those controls the access token lifetime. See here for more information:
https://docs.ifs.com/techdocs/Foundation1/040_administration/210_security/015_authentication/040_configure_DBIDP/default.htm#Configure_behaviour_through_startup_paramters

Best regards, Björn.


bhaktiutama
Sidekick (Customer)
Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • 30 replies
  • January 13, 2021

Hi Björn,

Thank you for your answer. The documentation you provide gives me a lot of insight. 

But I choose to make the token longer using refresh_token. So I don’t have to change the server parameter.

https://www.oauth.com/oauth2-servers/making-authenticated-requests/refreshing-an-access-token/

Regards,

Bhakti


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings