0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
Commit graph

2908 commits

Author SHA1 Message Date
simeng-li
aafc258ad9
ci(codecov): add jest coverage report (#167)
* ci(codecov): add jest coverage report

add coverage report on core and ui project
add codecov uploader job

* ci: add report upload github workflow action

add report upload github workflow action

* ci: fix ci replace github test actions with test:report

 fix ci replace github test actions with test:report
2022-01-10 10:04:00 +08:00
Wang Sijie
e8908c3b24
feat: buildFindMany (#159) 2022-01-07 14:54:32 +08:00
Wang Sijie
5b404e2b2e
chore: add boolean type for postgres (#163)
* chore: add boolean type for postgres

* chore: remove bool
2022-01-07 12:09:38 +08:00
IceHe.xyz
a66abbc251
Revert "chore: update silverhand/configs dependency and fix the scope of eslint-disable rule (#157)" (#162)
This reverts commit 7ff8550845.
2021-12-29 03:56:55 +00:00
Darcy Ye
7ff8550845
chore: update silverhand/configs dependency and fix the scope of eslint-disable rule (#157)
* chore: fix the scope of eslint-disable rule

* chore: update silverhand/configs to v0.5.0 and fix linting error accordingly

* chore: fix linting error
2021-12-29 11:05:06 +08:00
simeng-li
3a80d99c9f
fix(ui): fix useApi request in useEffect dead loop bug (#158)
wrap the request method in userApi hook into a useCallback
2021-12-21 13:28:14 +08:00
Darcy Ye
dd7a385363
chore: update dependency of ESLint to version 8.1.0 or later (#155)
* chore: update eslint version to 8.1.0

* chore: update silverhand configs dependency

* chore: update silverhand configs dependency and fix code block according to linting rules
2021-12-20 14:20:23 +08:00
Wang Sijie
1fc73030e8
feat(core): sign in logs (#139)
* fix(core): add log result type

* fix: comments in sql

* feat(core): sign in log

* refactor: insert error log in middleware

* fix: pr fix

* feat: userLog middleware

* refactor: auto capture log

* fix: pr fix

* fix: pr fix
2021-12-08 15:56:57 +08:00
Wang Sijie
7ce706ccbe
feat: generate 2 types for db table schema (#154)
* feat(schema): generate Model and DBEntry

* feat: generate 2 types for db table
2021-12-08 11:11:27 +08:00
Xiao Yijun
b133b30b90
refactor(core): rename context to ctx in test file (#153) 2021-12-07 10:48:58 +08:00
Xiao Yijun
f672f34b5c
refactor: disable eslint rule for entire describe in koa-pagination.test.ts (#152) 2021-12-06 17:41:30 +08:00
Xiao Yijun
bb04df5a09
refactor(core): replace querystring with query-string (#151) 2021-12-06 17:32:31 +08:00
Xiao Yijun
e63e5bae4e
feat(core): support trusting TLS offloading proxies config 2021-12-03 14:04:30 +08:00
simeng-li
d54f77d78a
fix(schema): fix zod guard infer type for option fields (#148)
fix manual guard infer type breaks optional zod field type
2021-12-02 17:22:39 +08:00
simeng-li
a56d4ce026
feat: implement getResourceIndicators logic (#146)
* fix(schema): fix typo remove trailing comma

fix typo remove trailing comma

* feat(core): add resouce server query logic

add resource server & scopes query logic to oidc-provider resourceIndicator feature config

* fix(chore): scope should join with scopes.name

fix scope name join format bug

* fix(core): cr fix use pool.any replace pool.many

use pool.any replace pool.many
2021-12-02 14:08:15 +08:00
simeng-li
6d5dd55e12
refactor: implement koaUser middleware
* refactor: extract code block of getting detailed user info in koaAuth as middleware koaUser

* refactor: fix according to comments

* refactor: fix methods' and properties' naming
2021-12-02 11:43:04 +08:00
simeng-li
18a142ab65
feat(schema): add resource and scope table (#145)
* feat(schema): add resource and scope table

implement resource-servers and resource-scopes table with some basic queries

* fix(schema): remove scope update querie

not allowed to update scope once created

* feat(schema): add resourceId foreign key to the scope table

add resourceId foreign key to the scope table

* fix(schema): remove trailling comma

remove trailling comma

* fix(schema): cr fix replace resource-servers table name using resources

replace resource-servers table name using resources
2021-12-01 11:41:16 +08:00
Wang Sijie
838ae3fad9
feat: add koa-pagination (#143)
* feat: add koa-pagination

* fix: pr fix
2021-11-30 11:06:50 +08:00
Wang Sijie
acdbc5db56
feat(schema): user logs (#137)
* feat(schema): user logs

* fix(core): use z.object

* fix(core): add log result type

* fix: comments in sql

* fix: user_log_type and user_log_result
2021-11-29 15:47:43 +08:00
Xiao Yijun
a234f00269
chore(core): fix comment mistake 2021-11-19 16:04:40 +08:00
Wang Sijie
3480d05366
refactor(core): encryptUserPassword (#135) 2021-11-18 16:29:24 +08:00
Wang Sijie
7d7b8112f6
refactor(core): use plural in endpoint (#134) 2021-11-18 11:26:51 +08:00
Wang Sijie
9c3b67ae46
feat(core): users basic API (#133) 2021-11-18 11:26:34 +08:00
simeng-li
6d5b9e5bcc
chore(chore): bump oidc-provider version (#132)
bump oidc-provider version to 7.10.0 to remove the 16.+ node warnings
2021-11-15 11:02:24 +08:00
simeng-li
8861175520
chore(ui): add global-this polyfill to ky (#131)
ky uses globalThis which is not supported on older browsers.
add @ungap/global-this polyfill ontop of ky imports
2021-11-08 14:52:01 +08:00
simeng-li
ee2d1bf535
chore(core): throw out oidc-provider error (#128)
In order to display detailed error on the page
we need to throw the oidc-provider error out
and catched by koa-error-handler
2021-10-12 17:57:22 +08:00
Gao Sun
5f60fe491a
fix(core): snakecase OIDC client metadata keys (#127) 2021-10-12 17:27:11 +08:00
Gao Sun
9aa4caa826
refactor(core): fulfill correct applicationType when needed (#126)
* refactor(core): fulfill correct `applicationType` when needed

* refactor(core): use enum for application type

* refactor(core): do not filter undefined automatically
2021-10-11 09:55:17 +00:00
Gao Sun
0b23a5a793
fix: use port 5001 for ui dev (#125) 2021-10-08 14:10:44 +08:00
Gao Sun
1c3338f657
fix(core): load dist files when needed (#123) 2021-09-28 12:45:04 +08:00
simeng-li
34e979d7d9
fix(schema): update db-entries generation job (#120)
On Node 16.x.x fs.rmdir throw err if dir does not exist
Also from Node 16.x.x fs.rmdir will be deprecated, use fs.rm instead
2021-09-28 10:02:30 +08:00
simeng-li
4ea5f65982
fix(core): add redirectURI to the response body of register endpoint /user (#119)
* fix(ui): hide loading status

should hide loading status while a http error is thrown

* fix(ui): use api-hooks for consent request

integrate api-hooks for the consent page request

* fix(ui): add redirectURI to the response body of register endpoint

Fix the use registration flow, should redirect after a success registration callback
2021-09-24 17:00:26 +08:00
Gao Sun
7c69896126
refactor: @logto/essentials -> @silverhand/essentials (#118)
* refactor: `@logto/essentials` -> `@silverhand/essentials`

* chore: remove useless comment
2021-09-16 23:48:06 +08:00
Gao Sun
5ccf903b4a
chore: upgrade configs (#117) 2021-09-16 16:54:32 +08:00
Gao Sun
7dfa31d86c
chore(core): upgrade oidc-provider (#116) 2021-09-15 15:57:32 +08:00
Gao Sun
2c93ef9237
chore: upgrade configs (#114) 2021-09-08 14:13:42 +08:00
Gao Sun
8e291b51bf
test(core): add unit tests for generateUserId() (#113) 2021-09-08 10:29:14 +08:00
Gao Sun
7ae7912642
refactor: adopt new ESLint rule set for FP (#111) 2021-09-07 20:24:27 +08:00
Gao Sun
af942d2027
feat(core): add status api and health check after deployment (#110) 2021-09-06 10:40:06 +08:00
Gao Sun
5b36355537
test(core): add unit tests for database insert into factory (#109) 2021-09-06 10:39:39 +08:00
Gao Sun
54105fc614
fix(schemas): move zod into dependencies (#108) 2021-09-03 16:54:10 +08:00
Gao Sun
ed204f91c5
feat(core): GET /applications (#107) 2021-09-01 20:51:34 +08:00
Gao Sun
5d5d43deee
feat(core): GET /application/:id (#106) 2021-09-01 18:23:53 +08:00
Gao Sun
211a5a1760
Merge pull request #104 from logto-io/gao-log-45
feat(core): detect language from querystring and header
2021-09-01 17:58:32 +08:00
Gao Sun
67cef28f27
test(ui): fix react-i18next warning in jest (#105) 2021-09-01 17:53:12 +08:00
Gao Sun
9ccb66ddfd
refactor(core): update per comments 2021-09-01 17:52:55 +08:00
Gao Sun
7c6602a1ac
refactor(core): fixing router types 2021-09-01 17:35:23 +08:00
Gao Sun
43456aae9b
feat(core): detect language from querystring and header 2021-09-01 17:08:28 +08:00
Gao Sun
806e99de61
refactor: replace plain assert with a more strict version (#103) 2021-08-31 22:45:28 +08:00
Gao Sun
00c8211160
chore: upgrade configs (#102) 2021-08-31 21:03:13 +08:00
Gao Sun
635fa92853
test(core): add tests for database insert-into.ts (#99) 2021-08-31 00:48:33 +08:00
Gao Sun
bb040cbeee
chore: enforce default export name on React files (#101) 2021-08-30 22:28:08 +08:00
Gao Sun
4be1bd3cad
chore: lint-staged for all packages (#100) 2021-08-30 22:26:58 +08:00
Gao Sun
ea4cfd0e59
chore: update eslint config (#98) 2021-08-30 11:30:54 +08:00
Gao Sun
1352cce911
test(core): add unit tests for database utils (#95)
* test(core): add unit tests for database utils

* test(core): add tests for `conditionalSql()`
2021-08-28 21:48:06 +08:00
Gao Sun
625520d75a
refactor: throw an error when requesting invalid scope (#94) 2021-08-28 10:50:38 +08:00
Gao Sun
4694c0d5ce
refactor: use 404 when not found 2021-08-27 17:13:49 +08:00
Gao Sun
6b6210feee
feat: PATCH /application/:id 2021-08-27 17:07:15 +08:00
Gao Sun
334cc5903a
refactor: accept rest data while creating application 2021-08-27 17:07:11 +08:00
Gao Sun
8902d66bde
refactor(core): database insert.ts -> insert-into.ts (#92) 2021-08-27 12:47:55 +08:00
Gao Sun
154ddfac2b
fix: use lerna exec and FORCE_COLOR=1 for colorful outputs (#93) 2021-08-27 12:47:34 +08:00
Gao Sun
ee1133cf49
Merge pull request #87 from logto-io/gao-log-22 2021-08-26 13:39:55 +08:00
Gao Sun
4973053fda
refactor: integrate zod in schemas (#90) 2021-08-26 13:05:23 +08:00
Gao Sun
a918a0ce8d
fix(core): bearerToken -> bearerTokenIdentifier 2021-08-25 23:42:03 +08:00
Gao Sun
af11f18e40
feat: DELETE /application/:id 2021-08-25 23:42:03 +08:00
simeng-li
b1bf5eccf0
feat: (ui) Read and show error from API response (#84)
Implemet useApi hooks to handle client side request
read loading & error status from the useApi hook
2021-08-23 21:29:58 +08:00
Gao Sun
58b8ac3957
refactor: use composite run steps and remove eslint formatter 2021-08-20 18:16:00 +08:00
Gao Sun
cd57fe8866
feat(core): setup jest 2021-08-20 14:53:23 +08:00
Gao Sun
f48534ed18
refactor: unify timestamp usage 2021-08-18 16:36:52 +08:00
Gao Sun
6f604f40c2
refactor: improved error code of buildInsertInto() 2021-08-18 11:54:05 +08:00
Gao Sun
acc2031e82
refactor: update SchemaValuePrimitive and add docs for convertToPrimitive() 2021-08-18 00:45:46 +08:00
Gao Sun
b192b7d17c
feat: POST /applicaiton 2021-08-18 00:24:00 +08:00
Gao Sun
acd8157a0d
feat: validate access token if needed 2021-08-15 23:39:03 +08:00
Gao Sun
bb7c8184f7
feat: init application api 2021-08-14 21:39:37 +08:00
Gao Sun
96bf7cee77
refactor(core): re-org files 2021-08-12 19:39:28 +08:00
simeng-li
a3a2624c5b Merge pull request #75 from logto-io/simeng-api-schema
refactor(core): move api errorType to schemas package flow
2021-08-11 23:12:02 +08:00
Simeng Li
f6229641aa refactor: add phrases dependency to schema 2021-08-11 23:07:39 +08:00
Gao Sun
b457d95a9e refactor: conform RESTful convention (#77)
* refactor: conform RESTful convention

* refactor: update tests
2021-08-11 22:13:08 +08:00
Gao Sun
c58194dd6e chore: add MPL-2.0 license (#76) 2021-08-11 22:12:36 +08:00
Simeng Li
754b9ea872 refactor: move error types to schema bundle
move error types to schema bundle
2021-08-11 21:04:12 +08:00
Gao Sun
a86f57a466
refactor: remove oidc_client_id 2021-08-10 21:26:49 +08:00
Gao Sun
89cf297eff
refactor(core): adopt new schemas 2021-08-10 21:11:52 +08:00
Gao Sun
1b6a755376 Merge pull request #71 from logto-io/gao--refactor-applications
refactor(schemas): oidc_clients -> applications
2021-08-10 21:00:29 +08:00
Gao Sun
c384e0da6f Merge pull request #67 from logto-io/gao--add-pnpm-debug-to-gitignore
chore: add `.pnpm-debug.log*` to git ignore
2021-08-10 20:52:34 +08:00
Gao Sun
525fe97728
refactor(schemas): oidc_clients -> applications 2021-08-10 17:21:34 +08:00
Gao Sun
2c6a64892a
chore: add preinstall script to packages 2021-08-10 15:29:32 +08:00
Gao Sun
55e53aab6a
chore(ui): rename page title 2021-08-10 13:46:16 +08:00
Gao Sun
a206b7bd6b
chore: remove unneccesary include 2021-08-10 12:54:19 +08:00
Gao Sun
2f47ae28b7
chore(ui): add patch to matchMedia 2021-08-02 23:45:55 +08:00
Gao Sun
a245f5f1e6
feat(ui): set theme according to system configuration 2021-08-02 22:20:20 +08:00
Simeng Li
cebebec2bf 🚨 fix lint error 2021-08-02 21:58:36 +08:00
Simeng Li
816375e163 🚨 fix lint 2021-08-02 21:41:14 +08:00
Simeng Li
aa9677ea7a 👌 CR address 2021-08-02 21:34:00 +08:00
Simeng Li
3595657d8f fix git warning 2021-08-02 21:34:00 +08:00
Simeng Li
4453c41478 revert test comment 2021-08-02 21:34:00 +08:00
Simeng Li
8830228aae Add register moweb page 2021-08-02 21:34:00 +08:00
Gao Sun
9c6b4fc636 Merge pull request #56 from logto-io/gao--add-https-support
feat: add https support
2021-07-31 16:28:00 +08:00
Gao Sun
745cd22c16
feat: add https support 2021-07-31 02:12:47 +08:00
Gao Sun
1be7919545
chore(core): fixing ui proxy next() usage 2021-07-30 22:20:53 +08:00
Gao Sun
181f198260 Merge pull request #51 from logto-io/gao--refactor-routes
refactor(core): align `next()` usage and add prod mode for ui proxy
2021-07-30 13:58:57 +08:00
Gao Sun
45828ad6c5
chore(ui): enable jest testing 2021-07-30 03:42:39 +08:00
Gao Sun
e5d49504ac
refactor(core): align next() usage and add prod mode for ui proxy 2021-07-30 02:21:47 +08:00
Gao Sun
4eb8d93d56
chore: yarn -> pnpm 2021-07-29 17:46:28 +08:00
Gao Sun
b8956c6ab5
chore: cleanup useless scripts 2021-07-29 01:42:14 +08:00
Gao Sun
5f2c9ef840
chore(core): remove resource indicator 2021-07-28 20:35:36 +08:00
Gao Sun
590dd7d858
feat(phrases): add package and refactor error code 2021-07-28 01:13:51 +08:00
Gao Sun
cfed444266
feat(ui): add create account link 2021-07-26 23:56:38 +08:00
Gao Sun
0815d9cb7d
fix(sign-in): update style and locale 2021-07-26 22:39:49 +08:00
Gao Sun
94c5115bb0
feat(sign-in): replace id with username 2021-07-26 22:32:18 +08:00
Gao Sun
13b516dccb
refactor: unify dev script 2021-07-26 22:04:32 +08:00
Gao Sun
6c00d40aeb
refactor: use yarn workspace 2021-07-26 10:54:13 +08:00
Gao Sun
249d7897e5
chore: setup schemas workflow 2021-07-26 01:23:40 +08:00
Gao Sun
f8ae9f8f3a
chore: migrate ui workflow 2021-07-26 01:03:54 +08:00
Gao Sun
96474fed87
chore: upgrade eslint config 2021-07-26 00:18:45 +08:00
Gao Sun
48dc40e139
chore: update README 2021-07-25 22:44:07 +08:00
Gao Sun
bbdde8b68e
chore(ui): add tsc in lint-staged script 2021-07-25 22:39:45 +08:00
Gao Sun
9752dacf85
chore: unify dep and version 2021-07-25 22:36:22 +08:00
Gao Sun
77712167ba
chore: fix core package name 2021-07-25 22:28:42 +08:00
Gao Sun
a4fe321233
chore: add lint-staged precommit hook 2021-07-25 22:27:51 +08:00
Gao Sun
e64fff0a35
refactor: using monorepo 2021-07-25 21:58:27 +08:00
Gao Sun
6d030a4ad3
feat(sign-in): impl. api calls and redirects 2021-07-25 17:41:08 +08:00
Gao Sun
0dd5b8808d
feat(sign-in): add --font-control 2021-07-25 17:41:08 +08:00
Gao Sun
3ab6a018fe
feat(sign-in): add message box 2021-07-25 17:41:08 +08:00
Gao Sun
6fc29557ca
refactor: add disabled to input 2021-07-25 17:41:08 +08:00
Gao Sun
3ddc180d65
feat: init sign-in button 2021-07-25 17:41:08 +08:00
Gao Sun
6f88d1d1a5
feat: init input and i18n 2021-07-25 17:41:08 +08:00
Gao Sun
7bd68b5747
chore: bump config versions 2021-07-25 17:41:07 +08:00
Gao Sun
941cbae453
chore: require tsc 2021-07-25 17:41:07 +08:00
Gao Sun
f726e49e50
refactor: re-org code and add font vars 2021-07-25 17:41:07 +08:00
Gao Sun
ec4261d57c
chore: add CI 2021-07-25 17:41:07 +08:00
Gao Sun
f1db6b3cda
feat: add theme vars 2021-07-25 17:41:07 +08:00
Gao Sun
0bc126f29b
chore: update README 2021-07-25 17:41:07 +08:00
Gao Sun
6169cdbd6d
chore: update commit hooks 2021-07-25 17:41:07 +08:00
Gao Sun
04e2d22cf8
feat: initial commit 2021-07-25 17:41:07 +08:00
Gao Sun
92c706ae98
chore: update vscode config 2021-07-25 17:40:51 +08:00
Gao Sun
b432b10df0
chore: use shared config 2021-07-25 17:40:51 +08:00
Gao Sun
5eab0a878a
v1.1.0-rc.1 2021-07-25 17:40:51 +08:00
Gao Sun
9d28c495c7
chore: update engines 2021-07-25 17:40:51 +08:00
Gao Sun
cbab8fd7d6
v1.1.0-rc.0 2021-07-25 17:40:51 +08:00
Gao Sun
ac53f7befb
feat: add OIDC clients table 2021-07-25 17:40:51 +08:00
Gao Sun
a7d939d88f
v1.0.6 2021-07-25 17:40:50 +08:00
Gao Sun
6e7a4700d9
feat: remove redundant fields and add TS type support in generated files 2021-07-25 17:40:50 +08:00
Gao Sun
f180f42d65
v1.0.5 2021-07-25 17:40:50 +08:00
Gao Sun
0584979dbb
refactor: user_name -> username 2021-07-25 17:40:50 +08:00
Gao Sun
99e4327fdb
v1.0.4 2021-07-25 17:40:50 +08:00
Gao Sun
fbd8498c25
feat: add fieldKeys in generated const 2021-07-25 17:40:50 +08:00
Gao Sun
1b0cce6de9
v1.0.3 2021-07-25 17:40:50 +08:00
Gao Sun
f273ad08e5
fix: add prepare script 2021-07-25 17:40:50 +08:00
Gao Sun
b6ff5ec6ca
v1.0.2 2021-07-25 17:40:50 +08:00
Gao Sun
d30260634d
feat: conditional generate custom types file and export types in index 2021-07-25 17:40:50 +08:00
Gao Sun
efa550834a
feat: generate enum types from SQL 2021-07-25 17:40:50 +08:00
Gao Sun
70a4c6f15a
Add password encryption salt 2021-07-25 17:40:50 +08:00
Gao Sun
e2301a75de
v1.0.1 2021-07-25 17:40:50 +08:00
Gao Sun
b4d45983b1
Add .npmrc 2021-07-25 17:40:50 +08:00
Gao Sun
68d67016ae
Add user table 2021-07-25 17:40:49 +08:00
Gao Sun
02a251b863
Update configs 2021-07-25 17:40:49 +08:00
Gao Sun
053b775e49
Use essentials 2021-07-25 17:40:49 +08:00
Gao Sun
163ca3e51f
Update instance to readonly const 2021-07-25 17:40:49 +08:00
Gao Sun
7961a7fbf0
Generate table metadata 2021-07-25 17:40:49 +08:00
Gao Sun
3b08c4aee8
Complete table types generation 2021-07-25 17:40:49 +08:00
Gao Sun
c8721ac1f8
Init table type generation 2021-07-25 17:40:49 +08:00
Gao Sun
8ae63eabef
Initial commit 2021-07-25 17:40:49 +08:00
Gao Sun
f422c3ae3f
refactor: refine sign-in errors 2021-07-25 17:39:59 +08:00
Gao Sun
405513c977
feat: add default resource 2021-07-25 17:39:59 +08:00
Gao Sun
6031b8a683
feat: auto-gen api doc 2021-07-25 17:39:59 +08:00
Gao Sun
b435414d91
refactor(routes): remove koa-compose dep and save guard config in middleware 2021-07-25 17:39:59 +08:00
Gao Sun
869a2425a2
chore: update commit hooks 2021-07-25 17:39:59 +08:00
Gao Sun
b8c1da5ecc
chore: use shared config 2021-07-25 17:39:59 +08:00
Gao Sun
177c8d335e
docs: remove out-dated env sample 2021-07-25 17:39:58 +08:00
Gao Sun
8c95b5d856
refactor: read issuer from env and fallback to localhost 2021-07-25 17:39:58 +08:00
Gao Sun
3e58d991d8
chore: update engines 2021-07-25 17:39:58 +08:00
Gao Sun
aad158085e
chore: setup lint-staged 2021-07-25 17:39:58 +08:00
Gao Sun
0ee771bc33
fix: revert incorrect comments 2021-07-25 17:39:58 +08:00
Gao Sun
a7ab69ecd5
refactor: re-org RequestError files 2021-07-25 17:39:58 +08:00
Gao Sun
0356010ee3
feat: add /sign-in/abort api, close #32 2021-07-25 17:39:58 +08:00
Gao Sun
9befa9c5f6
refactor: display oidc errors in json, close #34 2021-07-25 17:39:58 +08:00
Gao Sun
ae6e196f37
refactor: add guard and error handler middleware 2021-07-25 17:39:58 +08:00
Gao Sun
ce36754288
chore: upgrade schemas 2021-07-25 17:39:58 +08:00
Gao Sun
6639cb12df
feat: fetch client info from DB, close #3 2021-07-25 17:39:58 +08:00
Gao Sun
69015b5eee
chore: upgrade slonik 2021-07-25 17:39:58 +08:00
Gao Sun
f0f5ac111c
refactor: re-org OIDC adapter 2021-07-25 17:39:57 +08:00
Gao Sun
3231be014a
feat: adopt schemas v1.0.6 2021-07-25 17:39:57 +08:00
Gao Sun
916130b5fc
api: register with username / password 2021-07-25 17:39:57 +08:00
Gao Sun
b2c59b4e8e
chore: add post_logout_redirect_uris 2021-07-25 17:39:57 +08:00
Gao Sun
928a631bcc
api: add sign in / consent 2021-07-25 17:39:57 +08:00
Gao Sun
f419a91c5d
feat: sign in API via user id + password 2021-07-25 17:39:57 +08:00
Gao Sun
b1decc3706
refactor: use conditional() from essentials 2021-07-25 17:39:57 +08:00
Gao Sun
ba1d171353
refactor: add @ path alias 2021-07-25 17:39:57 +08:00
Gao Sun
27590ec4ad
feat: pipe sign-in routes to playground url 2021-07-25 17:39:57 +08:00
Gao Sun
fca5482e5c
feat: redirect to configured sign in URL 2021-07-25 17:39:56 +08:00
Gao Sun
ef5dd51b51
feat: find user account from db, close #4 2021-07-25 17:39:56 +08:00
Gao Sun
cf2c73c094
Update README.md 2021-07-25 17:39:56 +08:00
Gao Sun
359a1b2857
feat: enable token introspection, close #2 2021-07-25 17:39:56 +08:00
Gao Sun
e7afe3e745
chore: add commitlint 2021-07-25 17:39:56 +08:00
Gao Sun
3196d8101a
Update README.md 2021-07-25 17:39:56 +08:00
Gao Sun
2723d9c49f
Enable token revocation and OIDC CORS 2021-07-25 17:39:56 +08:00
Gao Sun
fb25411d6f
Update config 2021-07-25 17:39:56 +08:00
Gao Sun
39b2fa80bd
Use essentials 2021-07-25 17:39:56 +08:00
Gao Sun
469256f93a
Provide OIDC jwk and reorg code 2021-07-25 17:39:56 +08:00
Gao Sun
65cd21377c
Optmize adapter upsert query 2021-07-25 17:39:56 +08:00
Gao Sun
b892c882be
Finish adapter 2021-07-25 17:39:56 +08:00
Gao Sun
bda284c99b
Init adapter 2021-07-25 17:39:55 +08:00
Gao Sun
2e79dd3d16
Require PKCE 2021-07-25 17:39:55 +08:00
Gao Sun
d3287976cc
Update package.json 2021-07-25 17:39:55 +08:00
Gao Sun
b0f8e929ad
Create main.yml 2021-07-25 17:39:55 +08:00
Gao Sun
48f02d9505
Specify yarn version 2021-07-25 17:39:55 +08:00
Gao Sun
8bcfe0478f
Mount odic-provider 2021-07-25 17:39:55 +08:00
Gao Sun
afcfd12d87
Initial commit 2021-07-25 17:39:55 +08:00