Page 1 of 1

Persistent API Key

Posted: February 11th, 2022, 6:51 pm
by JefferyD
I'm trying to create an API to be called by another application but it needs security to be enabled and the current GetKey implementation that functions like a user session adds unnecessary complexity. There doesn't seem to be a good reason for the key to expire in this scenario as the credentials would need to be hardcoded anyway, and this just adds another layer of complexity to worry about.

Is there a way to generate a key for authenticated APIs created through the IDE that doesn't expire?

Re: Persistent API Key

Posted: February 11th, 2022, 7:03 pm
by SumanPrasad
Our current REST Implementation is based on user based authentication (token). You provide user/pwd and we give you a token that is valid for that session and can be used to authenticate in the same session,
Based on your suggestions, we will look into possibility of a site based authentication. From IDE, you will generate a Key using a unique site name. You can then use this key to call REST API directly without using GetKey REST API.

Re: Persistent API Key

Posted: February 15th, 2022, 7:26 am
by SumanPrasad
Jeff,
This feature is approved and a task 10119 is created.