# Langchain\_auth Client always return 403 even with valid Langsmith API key

**URL:** <https://forum.langchain.com/t/langchain-auth-client-always-return-403-even-with-valid-langsmith-api-key/1853>\
**Category:** Observability & Evals\
**Tags:** python-help\
**Created:** [October 17, 2025, 10:39am UTC](https://forum.langchain.com/t/langchain-auth-client-always-return-403-even-with-valid-langsmith-api-key/1853 "2025-10-17T10:39:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![julienbachmann](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/julienbachmann/32/1292_2.png) [@julienbachmann](https://forum.langchain.com/u/julienbachmann)\
**Post date:** [October 17, 2025, 10:39am UTC](https://forum.langchain.com/t/langchain-auth-client-always-return-403-even-with-valid-langsmith-api-key/1853/1 "2025-10-17T10:39:33Z")

</div>

I’m trying to use the `langchain_auth` python module, but any action return a 403 error.

I initilize the client like this

`from langchain_auth import Client`  
`client = Client(api_key="your-langsmith-api-key")`

But then if I try for example

`providers = await client.list_oauth_providers()`

I get `Exception: HTTP 403: {“detail”:“Forbidden”}`

I’ve tried personal and service API keys and I always have this error. What should I do to be allowed to use this API?
