forked from logto-io/logto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'logto-io:master' into feat-connector-kook
- Loading branch information
Showing
1,368 changed files
with
26,280 additions
and
9,021 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"@logto/schemas": minor | ||
"@logto/core": minor | ||
--- | ||
|
||
add `custom_data` to applications | ||
|
||
Introduce a new property `custom_data` to the `Application` schema. This property is an arbitrary object that can be used to store custom data for an application. | ||
|
||
Added a new API to update the custom data of an application: | ||
|
||
- `PATCH /applications/:applicationId/custom-data` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@logto/console": patch | ||
--- | ||
|
||
fix Google connector `scope` field can not be reset bug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
"@logto/core": patch | ||
--- | ||
|
||
fix the status code 404 error in webhook events payload | ||
|
||
Impact webhook events: | ||
|
||
- `Role.Scopes.Updated` | ||
- `Organizations.Membership.Updates` | ||
|
||
Issue: These webhook event payloads were returning a API response status code of 404 when the webhook was triggered. | ||
Expected: A status code of 200 should be returned, as we only trigger the webhook when the request is successful. | ||
Fix: All webhook event contexts should be created and inserted into the webhook pipeline after the response body and status code are properly set. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"@logto/console": minor | ||
"@logto/core": minor | ||
"@logto/experience": minor | ||
"@logto/integration-tests": patch | ||
--- | ||
|
||
support app-level branding | ||
|
||
You can now set logos, favicons, and colors for your app. These settings will be used in the sign-in experience when the app initiates the authentication flow. For apps that have no branding settings, the omni sign-in experience branding will be used. | ||
|
||
If `organization_id` is provided in the authentication request, the app-level branding settings will be overridden by the organization's branding settings, if available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
"@logto/core": minor | ||
--- | ||
|
||
implement token exchange for user impersonation | ||
|
||
Added support for user impersonation via token exchange: | ||
|
||
1. New endpoint: `POST /subject-tokens` (Management API) | ||
- Request body: `{ "userId": "<user-id>" }` | ||
- Returns a subject token | ||
|
||
2. Enhanced `POST /oidc/token` endpoint (OIDC API) | ||
- Supports new grant type: `urn:ietf:params:oauth:grant-type:token-exchange` | ||
- Request body: | ||
```json | ||
{ | ||
"grant_type": "urn:ietf:params:oauth:grant-type:token-exchange", | ||
"subject_token": "<subject-token>", | ||
"subject_token_type": "urn:ietf:params:oauth:token-type:access_token", | ||
"client_id": "<client-id>" | ||
} | ||
``` | ||
- Returns an impersonated access token | ||
|
||
Refer to documentation for usage examples and the [Token Exchange RFC](https://tools.ietf.org/html/rfc8693) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"@logto/experience": minor | ||
"@logto/schemas": minor | ||
"@logto/core": minor | ||
"@logto/integration-tests": patch | ||
--- | ||
|
||
support experience data server-side rendering | ||
|
||
Logto now injects the sign-in experience settings and phrases into the `index.html` file for better first-screen performance. The experience app will still fetch the settings and phrases from the server if: | ||
|
||
- The server didn't inject the settings and phrases. | ||
- The parameters in the URL are different from server-rendered data. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@logto/connector-smtp": minor | ||
--- | ||
|
||
enable static custom headers for SMTP connector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"@logto/experience": minor | ||
"@logto/demo-app": minor | ||
"@logto/console": minor | ||
--- | ||
|
||
use Vite for transpilation and bundling | ||
|
||
Removed ParcelJS and replaced with Vite. No breaking changes should be expected, but use a minor version bump to catch your attention. | ||
|
||
> [!Important] | ||
> The browserlist configuration for `@logto/experience` and been synced with what is stated in README.md. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
"@logto/console": minor | ||
"@logto/schemas": minor | ||
"@logto/core": minor | ||
"@logto/integration-tests": patch | ||
"@logto/phrases": patch | ||
--- | ||
|
||
support multiple app secrets with expiration | ||
|
||
Now secure apps (machine-to-machine, traditional web, Protected) can have multiple app secrets with expiration. This allows for secret rotation and provides an even safer experience. | ||
|
||
To manage your application secrets, go to Logto Console -> Applications -> Application Details -> Endpoints & Credentials. | ||
|
||
We've also added a set of Management APIs (`/api/applications/{id}/secrets`) for this purpose. | ||
|
||
> [!Important] | ||
> You can still use existing app secrets for client authentication, but it is recommended to delete the old ones and create new secrets with expiration for enhanced security. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@logto/console": minor | ||
"@logto/experience": minor | ||
"@logto/schemas": minor | ||
--- | ||
|
||
support dark favicon | ||
|
||
The favicon for the dark theme now can be set in the sign-in experience branding settings. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
"@logto/connector-mock-standard-email": minor | ||
"@logto/connector-logto-social-demo": minor | ||
"@logto/connector-sendgrid-email": minor | ||
"@logto/connector-alipay-native": minor | ||
"@logto/connector-wechat-native": minor | ||
"@logto/connector-dingtalk-web": minor | ||
"@logto/connector-huggingface": minor | ||
"@logto/connector-logto-email": minor | ||
"@logto/connector-mock-social": minor | ||
"@logto/connector-tencent-sms": minor | ||
"@logto/connector-alipay-web": minor | ||
"@logto/connector-aliyun-sms": minor | ||
"@logto/connector-feishu-web": minor | ||
"@logto/connector-mock-email": minor | ||
"@logto/connector-twilio-sms": minor | ||
"@logto/connector-wechat-web": minor | ||
"@logto/connector-aliyun-dm": minor | ||
"@logto/connector-logto-sms": minor | ||
"@logto/connector-facebook": minor | ||
"@logto/connector-mock-sms": minor | ||
"@logto/connector-aws-ses": minor | ||
"@logto/connector-azuread": minor | ||
"@logto/connector-discord": minor | ||
"@logto/connector-mailgun": minor | ||
"@logto/connector-smsaero": minor | ||
"@logto/connector-github": minor | ||
"@logto/connector-google": minor | ||
"@logto/connector-oauth": minor | ||
"@logto/connector-apple": minor | ||
"@logto/connector-kakao": minor | ||
"@logto/connector-naver": minor | ||
"@logto/connector-wecom": minor | ||
"@logto/connector-oidc": minor | ||
"@logto/connector-saml": minor | ||
"@logto/connector-smtp": minor | ||
"@logto/integration-tests": minor | ||
"@logto/schemas": minor | ||
"@logto/core": minor | ||
--- | ||
|
||
use tsup for building | ||
|
||
We've updated some of the packages to use `tsup` for building. This will make the build process faster, and should not affect the functionality of the packages. | ||
|
||
Use minor version bump to catch your attention. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,5 +33,4 @@ dump.rdb | |
.devcontainer | ||
.github | ||
.husky | ||
.parcel-cache | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Logto awesome | ||
|
||
Here's the list of awesome community-contributed resources for Logto. Feel free to add yours by submitting a pull request. | ||
|
||
## Account | ||
|
||
- [Logto Account Dashboard](https://github.com/t2vee/Logto-Account-Dashboard) by @t2vee | ||
|
||
## API | ||
|
||
- [Go API client for logto](https://github.com/mostafa/go-api-client) by @mostafa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.