Every time [main] receives a requests, it forwards the auth creds to the [auth] service for authentication.
When you generate the [main]:
+ server api config: will contain the api for the requests [main] receives (e.g.: post, upvote, ...)
+ client api config: will contain the api for the [auth] service since the [main] will be a client for the [auth] server
Another example would be a backend service that needs to pull data from third-party services (e.g.: instagram api, twitter api, ...). In that case the client api config will contain the api for those third-party services.