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

# Introduction

> For partners building services and extensions for Macropay customers

### OpenID Connect (OAuth2)

Reach for **OpenID Connect** only when your integration needs to act on behalf of other users through our API — for example, when you're building an app or service for Macropay customers. If you're simply connecting Macropay to your own service, use an **Organization Access Token (OAT)** instead.

Macropay supports third-party authentication through the [OpenID Connect specification](https://openid.net/developers/how-connect-works/). Built on top of the OAuth2 framework, OpenID Connect adds a standardized layer that makes the integration flow more consistent and predictable.

Crucially, the protocol exposes a **discovery endpoint** that lets compatible clients configure themselves against the OpenID Connect server automatically. You'll find Macropay's below:

[OpenID Configuration](https://api.macropay.ai/.well-known/openid-configuration)
