Logto

Security & PrivacyMPL-2.0

Authentication and authorization infrastructure.

Latest v1.46.0 · by SilverhandWritten in TypeScriptWebsitelogto-io/logtoRSS

Release activity

Release activity — 11 releases across 10 days since Feb 28, 2026. Each cell is one day; darker means more releases that day. Nothing is recorded before Feb 28, 2026. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Jul 26, 2026No releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026No releases on Nov 8, 2026
MondayNo releases on Jul 27, 2026No releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 20261 release on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026No releases on Nov 9, 2026
TuesdayNo releases on Jul 28, 2026No releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 20261 release on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 2026No releases on Nov 10, 2026
WednesdayNo releases on Jul 29, 2026No releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 20261 release on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 2026No releases on Oct 28, 2026No releases on Nov 4, 2026No releases on Nov 11, 2026
Thursday1 release on Jul 30, 2026No releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 2026No releases on Oct 22, 2026No releases on Oct 29, 20261 release on Nov 5, 2026No releases on Nov 12, 2026
FridayNo releases on Jul 31, 2026No releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 2026No releases on Nov 6, 2026
SaturdayNo releases on Aug 1, 2026No releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026No releases on Nov 7, 2026

11 releases since Feb 28, 2026, busiest day 2

Changelog

v1.46.0

Latest
Added 10
  • OIDC clients can request step-up authentication by passing acr_values and max_age in the authorization request, and read acr, amr, and auth_time from ID tokens, access tokens, and introspection responses.
  • A Recent authentication setting in Console > Sign-in experience > Account center sets how recent a sign-in must be, defaulting to 10 minutes.
  • A new Ethereum Wallet social connector (@logto/connector-siwe) lets users sign a one-time SIWE (EIP-4361) message with an injected EIP-1193 wallet, with admin-configurable allowed chain IDs.
  • The confirm_redirect_policy=password authorization parameter shows a Continue page before returning to an iOS app after a password sign-in, keeping the Save Password prompt.
  • Users can create, rename, and revoke their own personal access tokens on the Account Center Security page, with tokens expiring within 365 days.
  • Personal access token management is available through the Account API under /api/my-account/personal-access-tokens with the urn:logto:scope:personal_access_tokens scope.
Changed 4
  • The built-in Account Center authorizes sensitive Account API operations with a fresh first-party urn:logto:acr:1fa access token instead of a separate verification record, and answers with an RFC 9470 step-up challenge when the sign-in is not recent enough.
  • While GeeTest is the CAPTCHA provider, the sign-in page Content Security Policy allows GeeTest's SDK, API, and static hosts.
  • Cancelling the built-in consent page ends the interaction with access_denied and returns the user to the client application with the original state and iss.
  • A failed direct sign-in returns to the client with access_denied instead of falling back to the hosted sign-in page.
Security 2
  • Security fixes address MFA, social and enterprise sign-in, the Account API, and Logto Tunnel.
  • Standard OAuth 2.0 and Microsoft Azure AD social connectors require a settings review after upgrading.

From Logto

Highlights
  • OIDC step-up authentication: Apps can request acr_values and max_age and read acr, amr, and auth_time from tokens. Account Center uses it to require a recent sign-in before sensitive changes.
  • Sign-In with Ethereum: A new Ethereum Wallet social connector lets users sign in with an EVM wallet.
  • Keep the iOS "Save Password" prompt: The confirm_redirect_policy sign-in parameter shows a "Continue" page before returning to the app after the user enters a password.
  • Personal access tokens in Account Center: Users can create, rename, and revoke their own personal access tokens.
  • GeeTest CAPTCHA: Use GeeTest CAPTCHA v4 for bot protection, which suits sign-in experiences targeting mainland China.
  • Static attributes for SAML applications: Send fixed attribute values in every SAML assertion.
  • Security fixes, one needing admin action: This release includes security fixes for MFA, social and enterprise sign-in, the Account API, and Logto Tunnel. Standard OAuth 2.0 and Microsoft Azure AD social connectors need a settings review after upgrading. See Security hardening below.
New features & enhancements
OIDC step-up authentication

OIDC clients can now ask for a recent or stronger sign-in:

  • Request: Pass acr_values and max_age in the authorization request. Logto advertises the supported ACR values in the discovery document.
  • Result: acr, amr, and auth_time are returned in ID tokens, access tokens, and introspection responses.
  • Account Center: The built-in Account Center now authorizes sensitive Account API operations with a fresh first-party urn:logto:acr:1fa access token instead of a separate verification record. When the sign-in is not recent enough, the Account API answers with an RFC 9470 step-up challenge.
  • Recent authentication window: Set how recent the sign-in must be in Console > Sign-in experience > Account center > Recent authentication (10 minutes by default). A client can still request a shorter window with max_age.
  • Compatibility: Apps that call the Account API directly can still use a verification record ID for sensitive operations.

See Step-up authentication.

Sign-In with Ethereum

Admins can enable the new Ethereum Wallet social connector (@logto/connector-siwe). Users with an injected EIP-1193 wallet sign a one-time SIWE (EIP-4361) message without leaving the sign-in page. A single address works across supported EVM chains, and admins can restrict the allowed chain IDs.

Keep the iOS "Save Password" prompt

On iOS, ASWebAuthenticationSession closes as soon as it sees the app's callback URL, which dismisses the system "Save Password" prompt right after the user signs in with a password.

Pass confirm_redirect_policy=password in the authorization request to show a page that returns to the app only when the user selects "Continue". The page appears after the user enters a password in the sign-in experience: password sign-in, password registration, setting a password, or a step-up password verification.

Without the parameter, Logto redirects back to the app right away. Third-party applications ignore it. The Swift integration guide in Console shows how to use it. See Keep the iOS Save Password prompt.

Personal access tokens in Account Center

When the tenant enables the personal access token field in Account Center, users can create, rename, and revoke personal access tokens on the Account Center Security page. Each token is shown only once at creation and expires within 365 days.

The same operations are available through the Account API under /api/my-account/personal-access-tokens, with the new urn:logto:scope:personal_access_tokens scope (UserScope.PersonalAccessTokens in @logto/core-kit).

GeeTest CAPTCHA

GeeTest CAPTCHA v4 is now available as a CAPTCHA provider. Its adaptive challenges are localized, which suits sign-in experiences targeting mainland China, where Google reCAPTCHA is often unreachable.

  1. Create a CAPTCHA v4 event in the GeeTest dashboard.
  2. Go to Console > Security > CAPTCHA and add GeeTest with its CAPTCHA ID and CAPTCHA key. The same configuration is available through PUT /api/captcha-provider with type: "Geetest".

While GeeTest is the CAPTCHA provider, the sign-in page's Content Security Policy allows GeeTest's SDK, API, and static hosts.

access_denied when sign-in is cancelled
  • Consent page: Cancelling the built-in consent page now ends the interaction with access_denied and returns the user to the client application with the original state and iss.
  • Direct sign-in: A failed direct sign-in returns to the client the same way, instead of falling back to the hosted sign-in page.
  • Custom sign-in experiences: End the current interaction with the same error through POST /api/experience/abort, with an optional reason that becomes error_description. GET /api/experience/interaction/direct-sign-in returns the direct_sign_in value of the current authorization request, so a custom experience can tell a direct sign-in from a hosted one before the interaction is initialized.
User management
  • Require MFA setup for a user: Turn on Require MFA setup on the user details page in Console, or set mfa.required to true through the Management API. The user must set up MFA on their next sign-in and cannot skip it, regardless of the organization-level MFA policy.
  • Unlock a user: A new unlock action on the user details page clears sign-in and security verification lockouts keyed on the user's ID, primary email, primary phone, and username, so admins don't need to know which identifier triggered the lockout.
  • SHA-crypt legacy password hashes: Import users with SHA-crypt hashes ($5$ and $6$, as used by Linux, passlib, PHP, and others) by setting the password algorithm to Legacy and passing the complete stored crypt string as the password digest.
Static attributes for SAML applications

SAML applications can define fixed attribute names and values that are sent in every assertion alongside the mapped user attributes, for service providers that require constant values such as an account or site ID.

  • Console: Use the Static attributes section on the SAML application's attribute mapping tab.
  • Management API: Set staticAttributes with POST /api/saml-applications or PATCH /api/saml-applications/{id}.

Attribute names may contain letters, digits, and _.:/#@-. They must not conflict with each other or with the user attribute names in the assertion, including names that differ only in case or separators, such as site_id and siteId.

Cross-Origin-Opener-Policy for Bring your UI

Tenants with Bring your UI can choose same-origin-allow-popups or same-origin under Console > Sign-in experience > Branding > Bring your UI, or set crossOriginOpenerPolicy with the sign-in experience Management API. The header is sent on the hosted sign-in pages while custom UI assets are served. The default, unsafe-none, sends no header, so apps that open the sign-in page in a popup keep working.

login_hint for Account Center

Add login_hint to any Account Center URL, for example https://auth.foo.com/account/security?login_hint=foo@example.com, to pre-fill the identifier on the sign-in page when the user needs to sign in. The hint only pre-fills the field, so users can still sign in with a different identifier.

Management API and webhooks
  • Search users by custom data: GET /api/users accepts a repeatable customData query parameter that matches users whose custom data contains the given JSON object, for example customData={"customId":114514}. Repeated values are combined with OR, and the condition combines with other user filters using AND.
  • Find organizations by just-in-time provisioning domain: GET /api/organizations accepts a jitEmailDomain query parameter that returns, with pagination, the organizations a user with this email domain would be provisioned into. It combines with q and pagination like the other filters.
  • hasPassword for organization members: GET /api/organizations/:id/users now includes whether each member has a password set, matching the user list and user detail responses.
  • Webhook deliveryId: Every webhook payload now carries a deliveryId. It is unique per hook and event and stays the same across retries of the same request, so a receiver can process each delivery exactly once. It is also the ID of the audit log entry that records the delivery: open it from the webhook's recent requests in Console, or fetch it with GET /api/logs/:id. The "test webhook" payload carries one too.
Security hardening
Action required: email sync for OAuth 2.0 and Microsoft Azure AD connectors

The standard OAuth 2.0 social connector (@logto/connector-oauth 1.8.0) adds a Disable Email Sync switch (disableEmailSync), matching the one the Microsoft Azure AD connector has offered since Logto 1.43.0.

Upgrading alone does not change how existing connectors behave. The switch is off by default, so these connectors keep syncing the email address returned by the provider to the user profile. The standard OAuth 2.0 protocol carries no verification state for an email address, so the mapped email value is taken at face value.

After upgrading, review every standard OAuth 2.0 and Microsoft Azure AD social connector. Turn on Disable Email Sync when the provider does not verify that users own the email addresses it returns. The address stays available in rawData.

Sign in with Apple

The Apple connector (@logto/connector-apple 1.6.11) now takes the user's email only from the Apple ID token, and recognizes email_verified whether Apple sends it as true or "true". When Apple marks the email as unverified, no email is returned. The user's name still comes from the details Apple sends on the first authorization.

Multi-factor authentication
  • User and organization requirements: User-level and organization-level MFA requirements now take precedence over account settings that turn MFA off or skip it at sign-in when tenant-wide MFA is optional. Adaptive MFA continues to follow its risk-based decision.
  • Sign-ins that skipped MFA: A sign-in that skipped MFA verification, for example because Adaptive MFA did not trigger or a trusted device satisfied the policy, no longer shows the additional MFA, passkey, or backup code prompts and can no longer enroll a new factor. Registration, pure step-up, and accounts with no stored factor and no primary email or phone that the configured email or phone MFA could use keep their existing behavior.
  • Verifications bound to the account: A passkey, social, or enterprise SSO verification is only accepted for the account it identified. An email or phone MFA verification is now bound to the user it was created for, and a completed verification only counts for that user.
  • Switching between sign-in and registration: Switching an interaction between sign-in and registration now also discards the identified user, the MFA factors staged for that user, and their trusted-device opt-in.
Enterprise SSO
  • SAML assertion audience: A SAML enterprise SSO connector now accepts an assertion only when one of its Audience values exactly matches the connector's Audience URI (SP Entity ID) on the domain that receives the response or on the tenant's default domain. If SAML sign-in fails with "SAML assertion audience does not match the SP entity ID" after upgrading, set the audience at your identity provider to the Audience URI (SP Entity ID) shown in the connector's settings.
  • Connector configuration in errors: Sign-in error responses no longer include enterprise SSO connector configuration.
  • Connector branding before an email match: A new setting, Show SSO connector names and logos before email match, under Console > Sign-in experience > Sign-up and sign-in > Advanced options, controls whether enterprise SSO connector names and logos are included in the public sign-in configuration before an email domain matches. It is on by default, which keeps the current behavior. Turn it off to reveal them only after a match.
Account API and third-party applications

The following Account API operations now require a first-party application, matching the first-party only policy that account mutations already follow:

  • Retrieving or refreshing a stored social or enterprise SSO provider token:
    • GET /api/my-account/identities/:target/access-token
    • GET /api/my-account/sso-identities/:connectorId/access-token
    • PUT /api/my-account/identities/:target/access-token
  • Reading backup codes, sessions, grants, and trusted devices.

Third-party applications now receive:

403 auth.third_party_application_forbidden

First-party applications, including Account Center and Console, are unaffected. If an integration retrieves stored provider tokens today, use a first-party application to obtain the access token.

Connector request errors

When an outbound request made by a connector fails, for example on a network timeout, the error is now reduced to its name, code, and message before it is logged, exported to telemetry, recorded in the audit log, or returned in an error response. The server log also keeps the request method and the origin and pathname of the URL. Request bodies, headers, and query strings are no longer included.

Single-use codes and tokens

An authorization code, device code, pushed authorization request, or one-time token is now accepted from at most one request. Every other request that presents it gets the error a reused one returns: invalid_grant for a code, invalid_request_uri for a pushed authorization request, and one_time_token.token_consumed for a one-time token. Refresh tokens keep their reuse window.

SAML applications

GET and POST /api/saml/:id/authn now reject a SAML request whose XML is not well-formed, such as one with an unescaped & or a mismatched end tag, with 400 application.saml.invalid_saml_request. The audit log entry of such a request records the format error under samlRequestError. A request that cannot be decoded or parsed also gets this 400 error instead of a 500 when the application does not require signed authentication requests.

Logto Tunnel

@logto/tunnel 0.3.12 hardens serving static files from --experience-path:

  • Symlinks are resolved before a file is served. A file whose real location is outside the experience path returns 404. Symlinks that point to files inside it, and an experience path that is itself a symlink, keep working.
  • A Range whose end is past the end of the file is clamped to the file size. A Range that cannot be satisfied returns 416.
Request validation
  • A guard.invalid_input error response now lists only the first 100 validation issues.
  • POST /callback/:connectorId and POST /account/callback/social/:connectorId now stop validating an invalid body after 100 invalid fields. The error response is unchanged.
Bug fixes & stability
Sign-in experience
  • Older Safari and iOS: The sign-in page no longer loads blank on iOS and Safari versions earlier than 16.4. The sign-in experience is now compiled for iOS 15 and Safari 15 and later.
Social sign-in
  • Unreachable provider: When the token exchange or user info request to a social provider fails at the transport level (timeout, connection reset, DNS failure), Logto now responds with 502 connector.social_provider_unreachable instead of a generic 500. The response carries the network error code and the connector ID, and end users see a translated message. The request method and URL are written to the server log.
  • Declined authorization: When a user declines the consent screen or cancels at the social provider, Logto now responds with 401 connector.authorization_failed, carrying the provider's error and error_description, on every social sign-in, verification, and account linking path. This covers error=access_denied (OAuth 2.0 / OpenID Connect), user_cancelled_authorize (Sign in with Apple, LinkedIn), and user_cancelled_login (LinkedIn). Most social connectors used to answer with a generic connector.general error.
  • Provider error messages: When a social connector request fails, the error now shows the provider's actual message instead of {}.
OAuth and OIDC
  • Space-padded scope values: Some clients, such as OpenAI Codex, refresh tokens with a scope that has a leading space (for example " offline_access"). Logto rejected these requests with invalid_scope, so users had to sign in again each time the access token expired. Logto now ignores the empty scope values that leading, trailing, or repeated spaces produce. A scope made only of spaces counts as omitted, so a refresh token request keeps the refresh token's original scope.
Management API
  • Unknown customClientMetadata keys: POST /api/applications and PATCH /api/applications/:id now reject an unknown key under customClientMetadata with 400 guard.invalid_input, whose data lists the key. A typo such as refreshTokenTtlInDay used to be accepted while the setting was never applied. Existing applications are not affected.
  • Pagination links: The first, prev, next, and last links of list endpoints such as GET /api/applications?types=SPA&types=Traditional&page=1 now keep every value of a repeated query parameter, instead of joining them into a single comma-separated value.
  • One-time token count: When GET /api/one-time-tokens filters by email or status, the Total-Number header now counts only the matching tokens.
  • Manual unlock: Manually unlocking a user now also clears active security verification lockouts longer than 60 minutes. The manual unlock dialog and the API documentation now mention user IDs and security verification lockouts.
SAML applications
  • Attribute placeholders: Mapped attributes with names such as o365role or tenant1id were sent as the literal {attr…} placeholder instead of the user's value. They now carry the mapped value.
Console and Account Center
  • Application access control: The organization selector in application access control rules now filters results when searching for an organization.
  • Role permissions: When assigning role permissions, API resource names are shown in full, and truncated permission and resource names have tooltips.
  • Account Center branding: Account Center no longer shows the "Powered by Logto" mark while loading when Logto branding is hidden.
Documentation
  • Swift integration guide: The code examples now use the same client name throughout, fixing a Cannot find 'client' in scope error when they are copied into an Xcode project (#9788). Thanks to @timokoethe.
Connectors
  • Standard OAuth 2.0 and OIDC:
    • Token responses that return expires_in as a string, as some providers such as Criipto do, no longer fail with an invalid response error.
    • Token responses that return scope as a JSON array, as some providers such as Twitch do, no longer fail with an invalid response error. The scopes are normalized to a space-delimited string.
  • Patreon: Patreon removed its v1 public API, which made the connector fail with 410 Gone. The connector now requests profile fields from the Patreon API v2 identity endpoint, so Patreon sign-in works again.
  • Connector Kit: jsonGuard and jsonObjectGuard now build their recursive JSON schema once instead of once per nested value, which cuts the time spent validating large JSON payloads. Validation results are unchanged.
Self-hosting & OSS notes
  • Review before upgrading: Check the OAuth 2.0 and Azure AD email sync, SAML assertion audience, and third-party Account API changes under Security hardening.
  • Node.js 26: The official Docker image now runs on Node.js 26. Logto and the published packages support Node.js 22, 24, and 26, with minimum versions 22.23.4, 24.22.1, and 26.12.1, which include the October 2026 Node.js security fixes.
  • Database migration required: This release ships schema alterations, including new columns for SAML application static attributes and the new sign-in experience and Account Center settings. After upgrading, run the database alteration command (npm run alteration deploy in the @logto/cli/core image, or logto db alteration deploy) before starting the new version. See the upgrade guide.
  • Database connection retries: Core now retries the database connection at startup when the host name cannot be resolved (ENOTFOUND, EAI_AGAIN), instead of exiting immediately. The CLI database commands, such as db seed and db alteration deploy, now retry transient connection errors the same way, DNS failures included.
  • Admin endpoint warning: Logto now logs a warning once when a /console request reaches the default tenant because the request origin does not match any configured admin endpoint. If you see it, check the Console URL and ADMIN_ENDPOINT.
Contributors

Huge thanks to the community members whose work shipped in this release:

  • @nicolaj0 - webhook deliveryId (#9882), hasPassword for organization members (#9883), organization filter by just-in-time provisioning domain (#9912), customClientMetadata key validation (#9931), unreachable social provider errors (#9879), declined social authorization errors (#9880), database connection retries on DNS failures (#9881, #9928), and connector request errors in logs and responses (#9849)
  • @RaphaelFakhri - repeated query parameters in pagination links (#9811) (first contribution)
  • @mvanhorn - ADMIN_ENDPOINT mismatch warning (#9408)
  • @timokoethe - consistent client name in the Swift integration guide (#9788)

Full Changelog: https://github.com/logto-io/logto/compare/v1.45.0...v1.46.0

View originalPermalink
How v1.46.0 went

v1.45.0

Added 10
  • Self-hosted license installation and management in Console under Tenant settings > License, and via the Management API (PUT and GET /api/systems/license), with offline ES256 signature verification
  • License status view showing plan, environment, expiration date, and automatic weekly refresh status
  • 30-day grace period for self-hosted licenses that expire or cannot be refreshed, with global warnings in Console before falling back to OSS defaults
  • Retrieval of production and non-production license keys from the account menu in Logto Cloud Console for users with an active self-hosted subscription
  • Console member invitations for self-hosted deployments, delivered by email using the default tenant's email connector
  • Option to remove "Powered by Logto" branding from the sign-in experience on self-hosted Pro deployments
Changed 2
  • Matching scopes to API resources in GET /api/resources?includeScopes=true now runs in linear time using Map.groupBy and PostgreSQL array binding
  • Console permission pickers for third-party apps, dynamic apps, organization roles, and user roles now filter out Management API resources instead of loading every resource into the browser
Fixed 3
  • Slowdowns and failures in GET /api/resources?includeScopes=true on tenants with more than 65,535 resources
  • UI timeouts in Console permission pickers on resource-heavy tenants
  • Updated the Next.js App Router quick start example to declare Home as an async component, resolving TypeScript error TS1308
View originalRead the notes
How v1.45.0 went

v1.44.0

Added 10
  • MFA trusted devices let users who complete MFA trust their browser and skip repeated MFA prompts there for a configurable duration of 1 to 365 days, with the policy off by default
  • Organizations can disallow trusted devices for their members, which only tightens the tenant policy
  • A Trust this device page appears after an eligible MFA verification or setup, letting users trust the browser or skip
  • Admins can view and remove a user's trusted devices in Console or through the GET and DELETE /api/users/{userId}/trusted-devices endpoints
  • Users can manage their own trusted devices in Account Center or through the Account API with the urn:logto:scope:trusted_devices scope
  • TrustedDevice.Created and TrustedDevice.Deleted webhooks, and TrustedDevice.Created and TrustedDevice.Used audit log events
Changed 3
  • User IDs can now be up to 128 characters, up from 12 or 21 characters
  • While Cap is the CAPTCHA provider, the sign-in page Content Security Policy allows the Cap instance and dynamic JavaScript evaluation
  • The reCAPTCHA Enterprise score threshold was previously fixed at 0.5
View originalRead the notes
How v1.44.0 went

v1.43.0

Added 1
  • Sign-in Experience supports the es-MX (Spanish, Mexico) locale
Changed 2
  • Phone inputs default to the Mexico country code (+52) for users whose language is Spanish (Mexico)
  • Console provides clearer examples, descriptions, and shorter placeholders for custom email rules
Fixed 10
  • List formatter placeholders and the remaining untranslated MFA message in the Spanish locales are fixed
  • Revoking a user's third-party application authorization invalidates only that application's tokens and leaves the browser SSO session active
  • Elliptic Curve signing keys advertise the matching algorithm: P-256 uses ES256, P-384 uses ES384, and P-521 uses ES512
  • Switching from passkey sign-in to verification-code sign-in no longer prevents users from completing CAPTCHA
  • OIDC invalid_scope and insufficient_scope messages show the rejected scope instead of raw placeholders
  • Safari and other password managers can suggest and save a strong password on set-password and reset-password screens using the correct account identifier
Removed 1
  • The unused Experience Springboard route has been removed
Security 7
  • Outbound requests from webhooks and enterprise SSO (OIDC discovery, token, userinfo, SAML metadata, and every redirect hop) are blocked when they resolve to loopback, private, link-local, cloud metadata, or other special-use addresses
  • Token exchange rejects subject access tokens that lack the RFC 9068 at+jwt type header or a client_id claim, returning invalid_grant
  • Third-party applications are blocked from mutating account data through the Account API and Verification API, returning 403 auth.third_party_application_forbidden, and the check fails closed for unresolved client identifiers
  • Suspended users are rejected with invalid_grant during token issuance and userinfo across refresh token, authorization code, device code, and token exchange flows
  • Removing a user scope from a third-party application's consent configuration now applies to existing grants and consent submissions
  • Sentinel identifier lockout counters use normalized identifiers (lower-cased emails, canonicalized phone numbers, case-folded usernames when the policy is case-insensitive), and manual unlock clears equivalent spellings
  • Social landing-page redirect_to values must use http or https, native callback links must use a custom application scheme, and stored callback links are rechecked before returning to a native app
View originalRead the notes
How v1.43.0 went

v1.42.0

Added 7
  • Custom domain verification files can be served from an active custom domain, configured in Console under Tenant settings > Domains
  • Custom email allowlist that restricts new sign-ups and newly linked emails to matching addresses, domains, or wildcard patterns
  • Wildcard email address and domain patterns supported in the email allowlist and blocklist
  • Console warnings for allowlist entries that match a block rule, plus-sign entries when subaddressing is blocked, and rule sets that would block all new emails
  • Reset password landing page can verify one-time-token magic links in addition to verification codes
  • Grant.LimitExceeded webhook event fired when OIDC grants are evicted due to the application's max allowed grants limit
  • RFC 8414 authorization server metadata endpoint at /oidc/.well-known/oauth-authorization-server
Changed 7
  • OIDC provider upgraded to node-oidc-provider v9
  • Revoking an opaque access token now revokes all tokens under the same grant, including the refresh token
  • Revocation endpoint rejects JWT access tokens with unsupported_token_type instead of returning a success response without revoking
  • Removed the at_hash claim from ID tokens issued at the token endpoint
  • ID tokens no longer include the optional typ JWT header
  • HTTP framework upgraded to Koa 3
  • Email and email domain validation matches complete values and enforces stricter domain labels
Fixed 1
  • Acknowledging a rejected social or SSO registration error returns the user to the Logto sign-in page instead of the external identity provider
Security 6
  • Revoking an opaque access token also revokes the refresh token, preventing continued access token issuance after revocation
  • OIDC provider SSRF protection is enabled by default
  • Internal application secrets are no longer exposed through Management APIs
  • Email blocklist policy is no longer returned in public sign-in experience responses
  • Retrieving stored third-party provider access tokens through the Account API requires the identities user scope
  • Account API verification codes are no longer sent to blocked email addresses
View originalRead the notes
How v1.42.0 went

v1.41.0

Added 12
  • App-level access control restricts application access by user ID, user role, organization, or organization role
  • Per-tenant password expiration policy with configurable validity period in days
  • Admins can manually expire a specific user's password from the user details page
  • Account Center session management for reviewing active sessions and connected third-party applications
  • Account Center profile management and avatar upload, including avatar upload during collect-profile sign-up
  • Independent passkey controls in Account Center separate from MFA
Changed 8
  • Legacy users without a recorded password-change time are anchored to the time the password expiration policy is enabled
  • OIDC preferred_username claim falls back to the user's username when profile.preferredUsername is unset
  • Verification-code delivery to unknown recipients is suppressed when registration is disabled
  • POST /api/applications/:applicationId/roles is idempotent, ignoring already-attached role IDs and returning 201 with roleIds and addedRoleIds
  • Organization role creation with initial scopes is transactional, so invalid scope IDs no longer leave partially created roles
  • Switching to case-insensitive usernames is blocked when existing usernames differ only by case
  • samlify upgraded to ^2.13.0, improving XML escaping in generated SAML assertions
  • Console username editing redirects to Account Center so the required verification flow can complete
Fixed 7
  • Tenant theme, platform, and brand color are applied before hydration to reduce theme flash
  • Hosted sign-in experience custom CSS is inlined into server-rendered HTML to prevent a flash of built-in styles
  • Account Center step-up verification is restricted to user permission verification records
  • Social identities can be linked in Account Center without password, email, or phone verification when the user has no legacy security verification methods
  • Older Safari and iOS 15 no longer crash on startup due to unsupported regex lookbehind syntax
  • OIDC enterprise connectors can fetch discovery configuration from providers that reject JSON-only response negotiation
  • Custom UI asset Azure Blob transport failures map to retryable storage download errors and upload timeout handling is improved
Security 5
  • SAML IdP auto-submit forms escape HTML attribute values and reject non-HTTP(S) action URLs
  • TOTP MFA verification rejects replayed codes from the same or older time-step counter
  • OIDC request bodies containing null bytes return 400 invalid_request and audit log payloads strip null bytes
  • Email subaddressing blocklist checks no longer build regular expressions from user-controlled input
  • Logto Tunnel prevents static file requests from reading outside the configured experience path
View originalRead the notes
How v1.41.0 went

v1.40.1

Added 1
  • Add custom CSP utility methods to @logto/core-kit
Fixed 1
  • Publish @logto/core-kit@2.10.0 so its version matches the new exports expected by downstream packages
View originalRead the notes
How v1.40.1 went

v1.40.0

Added 7
  • Audit logs page now includes a time-range picker with presets for the last 1 hour, 24 hours, 7 days, 30 days, and a custom date range, defaulting to the last 7 days
  • GET /api/logs and GET /api/hooks/{id}/recent-logs accept start_time and end_time query parameters as exclusive unix millisecond bounds
  • GET /api/logs and GET /api/hooks/{id}/recent-logs accept an enableCap query parameter that caps the count query at about 10,000 rows and returns a Total-Number-Is-Capped header when capped
  • Organization.Membership.Updated webhook payload includes addedUserIds, removedUserIds, addedApplicationIds, and removedApplicationIds delta fields, each capped at 5000 entries
  • GET /api/my-account/sessions returns an isCurrent boolean on every session entry
  • install and db seed commands accept a --dapc flag (alias --disable-admin-pwned-password-check) that disables the Have I Been Pwned check in the admin password policy
  • Account Center allows users with no password, no primary email, and no primary phone to set an initial password through the Account API without a verification record
Changed 5
  • GET /organizations/:id/users aggregates roles via a LATERAL subquery so LIMIT prunes users before role lookups
  • PUT /organizations/:id/users uses a delta-based replaceWithDelta() query that writes only changed rows and preserves role assignments for surviving members
  • Arbitrary JSON object schemas declare additionalProperties: true in the OpenAPI document so generated clients type fields such as customData as an unknown-valued record
  • Account Center re-authenticates with prompt=none on user-info errors and falls back to prompt=login only when no valid session exists
  • Clarified the Account Center 2-step verification toggle label
Fixed 4
  • Sign-in-to-registration flow prompts terms agreement before account creation when the agreement policy is ManualRegistrationOnly
  • Expired Account Center sessions redirect cleanly without flashing the manual sign-in error
  • Social linking callback reads connectorId correctly, fixing a spurious 'social sign-in method is not enabled' error
  • Corrected the Chinese translation of 'Passkey' in the MFA experience phrases
View originalRead the notes
How v1.40.0 went

v1.39.0

Added 7
  • Private signing key rotation grace period, configurable via the PRIVATE_KEY_ROTATION_GRACE_PERIOD environment variable or the --gracePeriod CLI option
  • Configurable error handling for custom JWT scripts in access token and client credentials flows, allowing token issuance to be blocked when script execution fails
  • Dedicated Error handling tab in Console for configuring custom JWT script blockIssuanceOnError behavior
  • Account Center security page at /account/security for social account linking and unlinking, MFA 2-step verification, and account deletion
  • Delete-account URL field in sign-in experience Account Center settings
  • WhatsApp SMS connector for sending messages through the Meta Cloud API
  • --color-overlay-primary-subtle theme token for both light and dark Console themes
Changed 3
  • Newly created custom JWT scripts default blockIssuanceOnError to enabled, while existing scripts without a saved value keep the legacy disabled behavior
  • POST /organizations/:id/users now returns a userIds array echoing the user IDs sent in the request
  • POST /organizations/:id/users/:userId/roles now returns an organizationRoleIds array containing the final deduplicated assigned role IDs, including IDs resolved from role names
Fixed 2
  • Social and SSO redirects in in-app browsers such as Instagram, Facebook, and LINE, using a localStorage fallback when sessionStorage is lost after redirect
  • Request IP is now passed to connectors when sending verification codes
Security 1
  • Forgot-password verification returns a unified verification_code.code_mismatch error to prevent account enumeration via email or phone existence
View originalRead the notes
How v1.39.0 went

v1.38.0

Added 26
  • OAuth 2.0 Device Authorization Grant support for input-limited devices such as smart TVs, CLI tools, IoT devices, and gaming consoles
  • Device flow support in the sign-in experience, Console, device-flow-specific phrases, built-in demo support, and a device-flow guide in application settings
  • Console option to create a device flow application via Input-limited app / CLI under the Native framework list
  • Console option to create an app without framework and choose Device flow as the authorization flow
  • Console option to create a third-party Native app and choose Device flow as the authorization flow
  • Passkey sign-in as a passwordless authentication method using platform authenticators such as Face ID, Touch ID, and Windows Hello
View originalRead the notes
How v1.38.0 went

v1.37.1

Added 1
  • Added extended ID token claims exports (extendedIdTokenClaims, ExtendedIdTokenClaim, extendedIdTokenClaimsByScope) to @logto/core-kit
Fixed 1
  • Bumped the @logto/core-kit version, which was missing from the v1.37.0 release, so downstream packages can reference its exports
View originalRead the notes
How v1.37.1 went
View all

Discussion

If you publish Logto, you can claim this product by proving you administer its repository.