mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
Merge pull request #3858 from logto-io/sijie-pkce-require
refactor: disable pkce requirement for traditional app
This commit is contained in:
commit
08a578b4d1
10 changed files with 40 additions and 12 deletions
|
@ -1,5 +1,11 @@
|
|||
# Change Log
|
||||
|
||||
## 1.3.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @logto/schemas@1.3.1
|
||||
|
||||
## 1.3.0
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@logto/cli",
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"description": "Logto CLI.",
|
||||
"author": "Silverhand Inc. <contact@silverhand.io>",
|
||||
"homepage": "https://github.com/logto-io/logto#readme",
|
||||
|
@ -48,7 +48,7 @@
|
|||
"@logto/language-kit": "workspace:^1.0.0",
|
||||
"@logto/phrases": "workspace:^1.2.0",
|
||||
"@logto/phrases-ui": "workspace:^1.2.0",
|
||||
"@logto/schemas": "workspace:1.3.0",
|
||||
"@logto/schemas": "workspace:1.3.1",
|
||||
"@logto/shared": "workspace:^2.0.0",
|
||||
"@silverhand/essentials": "^2.5.0",
|
||||
"chalk": "^5.0.0",
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
# Change Log
|
||||
|
||||
## 1.3.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 5a59cd38e: Disable pkce requirement for traditional web app
|
||||
- @logto/schemas@1.3.1
|
||||
- @logto/cli@1.3.1
|
||||
|
||||
## 1.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@logto/core",
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"description": "The open source identity solution.",
|
||||
"main": "build/index.js",
|
||||
"author": "Silverhand Inc. <contact@silverhand.io>",
|
||||
|
@ -29,7 +29,7 @@
|
|||
"@azure/storage-blob": "^12.13.0",
|
||||
"@koa/cors": "^4.0.0",
|
||||
"@logto/app-insights": "workspace:^1.2.0",
|
||||
"@logto/cli": "workspace:^1.3.0",
|
||||
"@logto/cli": "workspace:^1.3.1",
|
||||
"@logto/connector-kit": "workspace:^1.1.1",
|
||||
"@logto/console": "workspace:*",
|
||||
"@logto/core-kit": "workspace:^2.0.0",
|
||||
|
@ -37,7 +37,7 @@
|
|||
"@logto/language-kit": "workspace:^1.0.0",
|
||||
"@logto/phrases": "workspace:^1.2.0",
|
||||
"@logto/phrases-ui": "workspace:^1.2.0",
|
||||
"@logto/schemas": "workspace:^1.3.0",
|
||||
"@logto/schemas": "workspace:^1.3.1",
|
||||
"@logto/shared": "workspace:^2.0.0",
|
||||
"@logto/ui": "workspace:*",
|
||||
"@silverhand/essentials": "^2.5.0",
|
||||
|
|
|
@ -254,6 +254,12 @@ export default function initOidc(
|
|||
Session: 1_209_600 /* 14 days in seconds */,
|
||||
Grant: 1_209_600 /* 14 days in seconds */,
|
||||
},
|
||||
pkce: {
|
||||
required: (ctx, client) => {
|
||||
return client.tokenEndpointAuthMethod !== 'client_secret_basic';
|
||||
},
|
||||
methods: ['S256'],
|
||||
},
|
||||
});
|
||||
|
||||
addOidcEventListeners(oidc);
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# Change Log
|
||||
|
||||
## 1.3.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @logto/cli@1.3.1
|
||||
|
||||
## 1.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@logto/create",
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"author": "Silverhand Inc. <contact@silverhand.io>",
|
||||
"license": "MPL-2.0",
|
||||
"type": "module",
|
||||
|
@ -15,6 +15,6 @@
|
|||
"node": "^18.12.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@logto/cli": "workspace:^1.3.0"
|
||||
"@logto/cli": "workspace:^1.3.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# Change Log
|
||||
|
||||
## 1.3.1
|
||||
|
||||
## 1.3.0
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@logto/schemas",
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"author": "Silverhand Inc. <contact@silverhand.io>",
|
||||
"license": "MPL-2.0",
|
||||
"type": "module",
|
||||
|
|
|
@ -109,7 +109,7 @@ importers:
|
|||
specifier: workspace:^1.2.0
|
||||
version: link:../phrases-ui
|
||||
'@logto/schemas':
|
||||
specifier: workspace:1.3.0
|
||||
specifier: workspace:1.3.1
|
||||
version: link:../schemas
|
||||
'@logto/shared':
|
||||
specifier: workspace:^2.0.0
|
||||
|
@ -3057,7 +3057,7 @@ importers:
|
|||
specifier: workspace:^1.2.0
|
||||
version: link:../app-insights
|
||||
'@logto/cli':
|
||||
specifier: workspace:^1.3.0
|
||||
specifier: workspace:^1.3.1
|
||||
version: link:../cli
|
||||
'@logto/connector-kit':
|
||||
specifier: workspace:^1.1.1
|
||||
|
@ -3081,7 +3081,7 @@ importers:
|
|||
specifier: workspace:^1.2.0
|
||||
version: link:../phrases-ui
|
||||
'@logto/schemas':
|
||||
specifier: workspace:^1.3.0
|
||||
specifier: workspace:^1.3.1
|
||||
version: link:../schemas
|
||||
'@logto/shared':
|
||||
specifier: workspace:^2.0.0
|
||||
|
@ -3295,7 +3295,7 @@ importers:
|
|||
packages/create:
|
||||
dependencies:
|
||||
'@logto/cli':
|
||||
specifier: workspace:^1.3.0
|
||||
specifier: workspace:^1.3.1
|
||||
version: link:../cli
|
||||
|
||||
packages/demo-app:
|
||||
|
|
Loading…
Reference in a new issue