This Val authenticates with the Hume API and returns an access token using the token authentication strategy.
Before using this Val, you need to set up the following environment variables:
HUME_API_KEY - Your Hume API keyHUME_SECRET_KEY - Your Hume Secret keyYou can find these keys in the Hume Portal.
This Val is set up as an HTTP endpoint. When called, it will:
{ "access_token": "your_access_token", "token_type": "bearer", "expires_in": 1800 }
If there's an issue with authentication, the Val will return an appropriate error message with details about what went wrong.