Administration manual ยท Sequence
How an embedded document opens
How an embedded document opens
Embedding sequence: the host page loads the iframe and asks its server for a token, which the server gets from ECenter with the embedding credential; the iframe exchanges the token for an embedded session and opens the document with the user's identity. The credential only lives on the host server.
loads /embed/{key}
frame-ancestors = application origins
ready
asks for a token for its
user
POST /api/embed/v1/tokens
(Embedding credential)
token (5 min, single use)
token
postMessage token
exchanges the token
embedded session
opens the document with the user's
identity
tokenRequired (on reaching the
maximum; back to step 3)
the credential only lives on the
host server
Host server
Host page
browser
iframe
/embed/{key}
ECenter