Neuron-hosted pages
On a page rendered by the Neuron, callQuickLoginServiceId(Request) in Neuron Script and emit the result as the QR element’s data-serviceId:
QuickLoginUser and signals the web client through SignatureReceivedBE. The user has no default privileges; application permissions must be assigned separately.
The documented overload QuickLoginServiceId(Request, Timeout) also requests Agent API login, with Timeout expressed in seconds. Confirm the token delivery and allowed lifetime with your provider.
Session-proxy mode
A backend proxy can initiate a session without rendering a page on the Neuron. AddagentApiTimeout to the normal QR request:
serviceId in the response. Preserve the HTTP cookies across requests and keep the event transport associated with the same session. A server-side HTTP client needs a cookie jar; calling fetch repeatedly does not automatically create one in Node.js.
Events use the same transport as the reference Events.js and QuickLogin.js. Verify the deployment’s completion payload and session behavior before depending on token delivery. Do not infer a token field from the browser-only identity response.