In this method, a REST client sends an API request to the api/rest/2.0/auth/session/login endpoint with the username and password. A successful login returns a session cookie from ThoughtSpot, which can be included in subsequent REST API calls.
|
Note
|
If multifactor authentication (MFA) is enabled on your ThoughtSpot instance, API requests with This issue occurs because when MFA is enabled, users must provide the additional authentication factor to log in to ThoughtSpot. Currently, there is no mechanism to pass the second factor via the standard API login endpoint, therefore the API request will not be successful. If your implementation uses basic authentication with the login endpoint, ThoughtSpot recommends switching to the token-based authentication method. For further guidance, contact ThoughtSpot Support. |