> ## Documentation Index
> Fetch the complete documentation index at: https://docs.medera.info/llms.txt
> Use this file to discover all available pages before exploring further.

# Python SDK — Authentication

> Authentication methods

````python theme={"system"}
from medera import MederaAuth auth = MederaAuth(client_id=os.environ["MEDERA_CLIENT_ID"], client_secret=os.environ["MEDERA_CLIENT_SECRET"], audience="api.medera.info",)

``` Token refresh happens automatically.
````
