> ## 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)

> [!NOTE]
>
> **Redirect URLs:** Match `redirectUri` in code
>
> **Logout URLs:** Match `logoutRedirectUri` in code

## 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).

## 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

> [card] [Authentication](https://docs.immutable.com/docs/products/passport/authentication.md)
>
> Login flows

> [card] [Architecture](https://docs.immutable.com/docs/products/passport/architecture.md)
>
> How Passport works


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.