Let your app know who signed in.
qURL can send a signed user identity to your app after email verification. Enable it yourself with the CLI. No per-app setup by LayerV is needed.
-
Publish your app with email access
Use qURL CLI 4.5.0 or later and a macOS or Linux shell. Keep your app listening on 127.0.0.1:3000. Run this beside it, and keep this terminal open:
qurl --version qurl publish http://127.0.0.1:3000 --name "Identity demo" \ --access email_capture --foreground -o json
Save the returned crid. If found_existing is true, this is an existing resource; keep it after testing unless you intend to retire it. Open another terminal with the same CLI profile for the next steps. The Connector connects out; the app needs no public listening port.
-
Add identity verification to your app
qurl whoami -o json
Use its owner_id and your CRID in the app integration guide. Your app must verify the signature, issuer, audience, tenant and expiry on every request, and reject missing or invalid identity. It still controls app permissions.
-
Enable and share
CRID='paste-your-crid' qurl identity enable "$CRID" qurl identity status "$CRID" printf 'https://qurl.link/%s\n' "$CRID"
Status must report signed identity enabled. Open the printed address in your browser. Verify your email on the qURL access page. Your app then receives the signed X-QURL-Identity header on page and asset requests. Use the printed CRID address for this flow: qurl share creates device-authorized links.
-
Check it, then clean up
qurl identity disable "$CRID" qurl identity status "$CRID"
Reload the app. It must refuse requests while it requires signed identity. The switch does not remove access grants. To turn delivery back on:
qurl identity enable "$CRID"
To remove this test share, press Ctrl+C in the publishing terminal, then run:
qurl delete "$CRID"
Confirm deletion when asked. This retires the test CRID. For a hosted HTTPS app, secret origin headers, identity claims and key rotation, use the enterprise integration guide.