auth
Widget
❌ Theme ✅ Options ✅ Content & Translations
This component is not a layout-component but componentOptions in the auth
object at widget level.
To edit the Look & Feel of the Login Modal, send a PATCH request on /widgets/{id}
and specify the following options in the componentOptions
object property:
Common to One-Time Password and Magic Link Login modals
Option | Description | Example |
---|---|---|
| Button background and link color | |
| Button text color | |
| Style of the Login Modal and the container ( | |
| Logo in the Login Modal | |
| Error message in case of invalid format of email address prompted (By default * | |
| Title of Login modal (By default * | |
| Second title of Login modal in email address step (By default * |
OTP Login modal
Option | Description | Example |
---|---|---|
| Container of send a new code ( | |
| Text of button to send a new code. | |
| Description above the code input to guide the user. | |
| Error message displayed to the user when the code prompted is not valid. | |
| Button in step 2 to submit the code. | |
| Description above the email input to guide the user. | |
| ||
| Loader in the submit button displayed when waiting for response. | |
| Container of description text positioned above email and code inputs. | |
| Code input options. | |
| Email address input options. |
Magic Link Login modal
Option | Description | Example |
---|---|---|
| Text button to re-send email | |
| Email sent confirmation (By default * | |
| Secondary title of Login modal in confirmation step (By default * | |
| Label of email input (By default * |
* Available by default if SDK is used. When building the authentication workflow with Didomi APIs, translations from SDK will not be available.
Last updated