--- snapshot-1795587850+++ snapshot-1795609452@@ -2,7 +2,11 @@ Release notes from logto -2026-11-20T05:19:49Z tag:github.com,2008:Repository/378310716/@logto/job-queue@0.1.0 2026-11-20T05:19:49Z +2026-11-25T08:06:31Z tag:github.com,2008:Repository/378310716/@logto/connector-kwtsms@0.0.0 2026-11-25T08:06:31Z + +@logto/connector-kwtsms@0.0.0 + +
@logto/connector-kwtsms@0.0.0
silverhand-bot tag:github.com,2008:Repository/378310716/@logto/job-queue@0.1.0 2026-11-20T05:19:49Z @logto/job-queue@0.1.0 @@ -10,7 +14,7 @@ v1.46.0 -
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.confirm_redirect_policy sign-in parameter shows a "Continue" page before returning to the app after the user enters a password.OIDC clients can now ask for a recent or stronger sign-in:
acr_values and max_age in the authorization request. Logto advertises the supported ACR values in the discovery document.acr, amr, and auth_time are returned in ID tokens, access tokens, and introspection responses.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.max_age.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.
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.
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 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.
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 cancelledaccess_denied and returns the user to the client application with the original state and iss.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.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.$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.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.
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.
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 CenterAdd 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.
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.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.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.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.
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.
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.The following Account API operations now require a first-party application, matching the first-party only policy that account mutations already follow:
GET /api/my-account/identities/:target/access-tokenGET /api/my-account/sso-identities/:connectorId/access-tokenPUT /api/my-account/identities/:target/access-tokenThird-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.
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.
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.
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 0.3.12 hardens serving static files from --experience-path:
Range whose end is past the end of the file is clamped to the file size. A Range that cannot be satisfied returns 416.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.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.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.{}.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.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.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.GET /api/one-time-tokens filters by email or status, the Total-Number header now counts only the matching tokens.o365role or tenant1id were sent as the literal {attr…} placeholder instead of the user's value. They now carry the mapped value.Cannot find 'client' in scope error when they are copied into an Xcode project (#9788). Thanks to @timokoethe.expires_in as a string, as some providers such as Criipto do, no longer fail with an invalid response error.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.410 Gone. The connector now requests profile fields from the Patreon API v2 identity endpoint, so Patreon sign-in works again.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.npm run alteration deploy in the @logto/cli/core image, or logto db alteration deploy) before starting the new version. See the upgrade guide.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./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.Huge thanks to the community members whose work shipped in this release:
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)ADMIN_ENDPOINT mismatch warning (#9408)Full Changelog: v1.45.0...v1.46.0
silverhand-bot tag:github.com,2008:Repository/378310716/@logto/tunnel@0.3.12 2026-11-05T04:13:00Z +
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.confirm_redirect_policy sign-in parameter shows a "Continue" page before returning to the app after the user enters a password.OIDC clients can now ask for a recent or stronger sign-in:
acr_values and max_age in the authorization request. Logto advertises the supported ACR values in the discovery document.acr, amr, and auth_time are returned in ID tokens, access tokens, and introspection responses.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.max_age.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.
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.
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 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.
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 cancelledaccess_denied and returns the user to the client application with the original state and iss.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.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.$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.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.
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.
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 CenterAdd 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.
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.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.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.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.
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.
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.The following Account API operations now require a first-party application, matching the first-party only policy that account mutations already follow:
GET /api/my-account/identities/:target/access-tokenGET /api/my-account/sso-identities/:connectorId/access-tokenPUT /api/my-account/identities/:target/access-tokenThird-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.
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.
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.
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 0.3.12 hardens serving static files from --experience-path:
Range whose end is past the end of the file is clamped to the file size. A Range that cannot be satisfied returns 416.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.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.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.{}.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.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.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.GET /api/one-time-tokens filters by email or status, the Total-Number header now counts only the matching tokens.o365role or tenant1id were sent as the literal {attr…} placeholder instead of the user's value. They now carry the mapped value.Cannot find 'client' in scope error when they are copied into an Xcode project (#9788). Thanks to @timokoethe.expires_in as a string, as some providers such as Criipto do, no longer fail with an invalid response error.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.410 Gone. The connector now requests profile fields from the Patreon API v2 identity endpoint, so Patreon sign-in works again.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.npm run alteration deploy in the @logto/cli/core image, or logto db alteration deploy) before starting the new version. See the upgrade guide.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./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.Huge thanks to the community members whose work shipped in this release:
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)ADMIN_ENDPOINT mismatch warning (#9408)Full Changelog: v1.45.0...v1.46.0
silverhand-bot tag:github.com,2008:Repository/378310716/@logto/tunnel@0.3.12 2026-11-05T04:13:00Z @logto/tunnel@0.3.12 @@ -38,8 +42,4 @@ @logto/experience@1.24.0 -@logto/experience@1.24.0
silverhand-bot tag:github.com,2008:Repository/378310716/@logto/core-kit@2.14.0 2026-11-05T04:12:59Z - -@logto/core-kit@2.14.0 - -@logto/core-kit@2.14.0
silverhand-bot+@logto/experience@1.24.0
silverhand-bot