Open rooholamin opened 9 months ago
The documentation on authentication is very misleading. There is no username or password in lob account for basic authentication. It only provides api keys.
// Configure HTTP basic authorization: basicAuth $config = OpenAPI\Client\Configuration::getDefaultConfiguration() ->setUsername('YOUR_USERNAME') ->setPassword('YOUR_PASSWORD');
This is the correct way to have configuration:
// Configure HTTP basic authorization: basicAuth $config = OpenAPI\Client\Configuration::getDefaultConfiguration() ->setApiKey('basic', 'API_KEY);
Summary
The documentation on authentication is very misleading. There is no username or password in lob account for basic authentication. It only provides api keys.
Current Behavior
Possible Solution
This is the correct way to have configuration: