Solved

How To Make Token Expired Longer ?

  • 12 January 2021
  • 2 replies
  • 40 views

Userlevel 1
Badge +5

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

icon

Best answer by Björn Kihlström 12 January 2021, 15:24

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

2 replies

Userlevel 2
Badge +3

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.

Userlevel 1
Badge +5

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

Reply