Base URL of the target server.
Must be a valid HTTP or HTTPS URL (e.g., http://localhost:3000 or https://api.example.com).
This field is required; if missing, loadEnv will throw an error.
OptionalLOGIN_Path to the login endpoint, relative to BASE_URL.
If provided, it must not be an empty string and must not contain ? or #.
Leading slashes are automatically removed by EnvConfig.
OptionalLOGOUT_Path to the logout endpoint, relative to BASE_URL.
If provided, it must not be an empty string and must not contain ? or #.
Leading slashes are automatically removed by EnvConfig.
OptionalUSER_User email address for authentication.
OptionalUSER_User password for authentication.
Environment variables required or optionally used by the authentication library.
Remarks
Only
BASE_URLis mandatory. All other fields are optional but may be requiredby specific clients (e.g.,
{@link AuthClient}needsUSER_EMAILandUSER_PASSWORD).Example
Example
Since
0.1.1
See