Setup Demo

Setup and live request testing

Test the partner auth flow with a signed-in demo user. Connect that user to NanoGPT, add balance, and send real image and streaming-chat requests.

Configuration status

The demo server signs short-lived partner JWTs for one partner-owned user and forwards the requests to NanoGPT. No private key material is exposed to the browser.

Ready to testalg: ES256ttl: 300s

Signed-in demo user

This is the customer currently signed in to the partner app. Connect them once, then NanoGPT keeps the same balance and account behind the scenes whenever the partner sends AI requests for them.

JWT scope: session:webBalance scope: balance:readRequest scope: request:create

Send request on behalf of user

This fires one image-generation request and one streaming chat request at the same time with the same partner subject. If the linked NanoGPT user has no balance, both requests should surface the billing failure and the balance shortcut stays available here.

Chat model
Image model

Flow

How Partner Auth Moves Through NanoGPT

The partner signs the JWT on its own backend. NanoGPT verifies the signature against the stored public key, resolves the linked NanoGPT session, and then continues through either browser SSO or the normal API path.