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

# Passport Clients

> Configure Passport authentication clients for your game or application

## Create a Passport Client

Create client in [Hub](https://hub.immutable.com): **Tools** → **Passport** → **Add Client**

**Application Type:** Native (Unity/Unreal) or Web (browser)

<Info>
  **Redirect URLs:** Match `redirectUri` in code

  **Logout URLs:** Match `logoutRedirectUri` in code
</Info>

## Redirect URI Configuration

### Web Applications

| Environment | Example                          |
| ----------- | -------------------------------- |
| Development | `http://localhost:3000/callback` |
| Production  | `https://yourgame.com/callback`  |

### Native Applications (Unity/Unreal)

| Platform             | Example            |
| -------------------- | ------------------ |
| Mobile (iOS/Android) | `myapp://callback` |
| Desktop              | `myapp://callback` |

## Multiple Environments

```
http://localhost:3000/callback     # Local development
https://staging.yourgame.com/callback  # Staging
https://yourgame.com/callback      # Production
```

<Tip>
  URIs must be exact matches (no wildcards).
</Tip>

## Client Types

### Native Clients

For Unity, Unreal, mobile apps:

* Uses PKCE for security
* Custom URL schemes for redirects
* No client secret required

### Web Clients

For browser applications:

* Standard OAuth 2.0 flow
* HTTPS redirect URIs
* CORS origins configuration

## Next Steps

<CardGroup cols={2}>
  <Card title="Authentication" icon="lock" href="/docs/products/passport/authentication">
    Login flows
  </Card>

  <Card title="Architecture" icon="sitemap" href="/docs/products/passport/architecture">
    How Passport works
  </Card>
</CardGroup>
