BUILD WITH MYIRL
One Account.
Clear Feed Choices.
Help streamers choose their MyIRL camera feed from your app, with a browser-based account connection and narrow permissions.
The Experience To Build
- The streamer chooses Connect MyIRL in your app.
- Open the system browser so the streamer signs in directly with MyIRL.
- MyIRL shows your approved app name, requested permissions and station/feed choices.
- Your app exchanges a single-use authorization code with PKCE, then lists only the permitted feeds.
- The streamer selects a feed. An app-specific, expiring publishing lease supplies its connection without exposing the shared station password.
Simple For Developers. Scoped For Customers.
One versioned feed format covers Relay and cloud OBS. Check returned capabilities and profiles rather than assuming a plan includes more inputs, SRTLA, OBS control or a particular resolution.
// Planned integration; server endpoints are not enabled yet.
const pending = await createAuthorizationRequest({
clientId: 'YOUR_APPROVED_APP_ID',
redirectUri: 'https://your-app.example/callback'
});
// Open pending.url in the system browser.
// Keep pending.verifier and pending.state in secure local memory.
// Validate state, exchange the code with PKCE, then list approved feeds.
Security Requirements
- Administrator-approved app registrations and exact registered callbacks. No wildcard redirects or embedded account-password forms.
- Authorization Code with PKCE S256. Native apps have no reusable client secret embedded in their binary.
- Short-lived access tokens, rotating refresh tokens with reuse detection, and explicit station/feed consent.
- Feed discovery returns names and capabilities without ingest passwords, account emails or infrastructure details.
- Publishing leases must be app/device-specific, revocable, time-limited and checked against current ownership, subscription, allowances and station locks.
- Revoking login tokens alone does not stop an encoder that already has a publishing credential. Lease revocation must terminate that publisher and prevent reconnection without interrupting other grants.
- Rate limits, revocation and audit events without secrets. Tokens belong in Authorization headers. Never log stream URLs, tokens or private QRs.
Start A Partner Integration
Contact MyIRL support with your app name, platform, verified callback URLs and permissions. The first milestone is approved-app sign-in and scoped feed discovery; automatic connection delivery stays disabled until per-app credential revocation is verified.
Use the OAuth security best current practice and native-app browser guidance alongside this contract.