Hello. I am posting for the first time.
I would like to consult about API authentication method.
I’m trying to develop a batch process that accesses every hour to synchronize HubDB with an external database. In that case, the following three points can be considered as authentication methods, but are there only options? Or is there a better way?
1. API Key
This is scheduled to be abolished in 2022/11, so NG
2.Private APP AccessToken
NG because scope cannot be granted for HubDB
3.oauth2
AccessToken is manually acquired for the first time, and after that the expiration date expires after a certain period of time, so Use RefreshToken to reacquire the token periodically. If the process is interrupted for some reason, it is necessary to manually obtain the AccessToken again.
Thank you.