Skip to main content

entri.showEntri(config)

This method launches the Entri modal window. config is an object with the following properties:

Possible showEntri() Errors

When any of the following critical errors occur, a console error will be logged, and the user will only see “Entri is misconfigured. Please contact support for assistance.” in the UI.

Token creation (JWT)

To launch the Entri modal window in a session, you’ll need to fetch a JWT using the secret key and applicationId provided by the Entri dashboard. For security reasons and in order to not expose your secret in the browser, please make sure to fetch the JWT on the server-side of your application. The JWT expires after 60 minutes. You can use any networking library you’d like. Here’s an example using javascript:
JS

Enhancing Integration Security

To further enhance the security of your integration, you have the option to include the domain, dnsRecords or product in the JWT creation process. When these elements are added, Entri will validate them during execution, providing an additional layer of security.

Request body

JSON

Parameters description

Successful response (200 status)

JSON
For more details about how freeDomain is used in Entri Sell, refer to the Advanced Security Settings for freeDomain section.