Using Auth Token instead of Access Token for REST API calls
説明
Normally, before starting a REST API session, the user needs to login with the Auth Token using the security/login call to get an access-token and then call subsequent requests with that access-token. Can we use the Auth Token for every call?
原因
Auto login (FGL-19550) was implemented on Foglight 5.9.2 to support using the Auth Token directly for each call.
対策
Make sure the registry variable REST_AuthToken_AutoLogin is set to True.
In the REST API call, set a Header named Auth-Token with the value of the Auth Token for the user account (exclude Access-Token from the headers).
Make the REST API call and the FMS should accept the request, automatically log the user in and send a response if the request is valid.