Embedded Journey Iframe
Description how can be ID used in Iframe.
Basic skeleton and permissions
Generating iframe URL
There is no difference between the URL for the journey and the iframe URL, they are the same, but it can be enhanced with a few query attributes:
Attribute | Values | Description |
---|---|---|
| wallet, email, phone | Preferred login method. |
| eth, kar | Preferred currency. |
| 0x... | Required wallet address, this address will be forced for wallet login or later in the journey to be shared. |
Iframe messages
When the user rejects or completes the journey, the redirections from OAuth2 behavior are replaced by messages from the iframe to the parent window. The developer should create listeners for these messages. Here is a React example of how to do that:
Last updated