Create a Passport Client
Create client in Hub: Tools → Passport → Add Client
Application Type: Native (Unity/Unreal) or Web (browser)
Redirect URLs: Match redirectUri in codeLogout 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
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