Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
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.