Organizational OpenAI Client ID and Access Token in Langchain

I’m currently working with the langchain library for a Q&A application, leveraging text extracted from PDFs. Our organization uses OpenAI services, but instead of individual API keys, we have an organizational ‘Client ID’ and ‘Access Token’.

I’m unsure how to configure langchain to authenticate using these credentials. Does anyone have experience integrating langchain with an organization-specific OpenAI setup? Any guidance on how to properly authenticate and instantiate the OpenAI model in langchain using a Client ID and Access Token would be greatly appreciated.

I asked this question in LangChain discussions. Meanwhile, anyone who has figured it out, please update this thread. It will be helpful.

Changing headers to default headers works. Solves the issue.