OAuth API with grant type=client_credentials