Logto

Logto is an open-source identity and access management (IAM) platform designed to simplify user authentication and authorization for web and mobile applications. It provides tools for managing user login, registration, and access control, allowing businesses to implement secure authentication methods like single sign-on (SSO), multi-factor authentication (MFA), and social logins. Logto helps developers manage user identities, permissions, and security policies across different applications, while offering a customizable and easy-to-integrate solution. The platform is ideal for organizations that need a scalable, secure, and flexible system for handling user authentication and managing access to their digital services.

Setup

Fill out the field apiKey and optionally from.

You can add multiple SMS connector templates for different cases. Here is an example of adding a single template:

  • Fill out the content field with arbitrary string-typed contents. Do not forget to leave {{code}} placeholder for random passcode.
  • Fill out the usageType field with either Register, SignIn or Test for different use cases.

Here is an example of seven SMS connector config JSON.

{
    "apiKey": "<your-api-key>",
    "from": "<from>",
    "templates": [
        {
            "content": "<arbitrary-register-template-contents: your passcode is {{code}}>",
            "usageType": "Register"
        },
        {
            "content": "<arbitrary-sign-in-template-contents: your passcode is {{code}}>",
            "usageType": "SignIn"
        },
        {
            "content": "<arbitrary-test-template-contents: your passcode is {{code}}>",
            "usageType": "Test"
        }
    ]
}

Test seven SMS connector

You can enter a phone number and click on "Send" to see whether the settings can work before "Save and Done".

That's it. Don't forget to Enable connector in sign-in experience.

Config types

NameType
apiKeystring
fromstring
templatesTemplates[]
Template PropertiesTypeEnum values
contentstringN/A
usageTypeenum string'Register' \ 'SignIn' \ 'Test'
Last updated: 5 days ago