Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spike/try to rebase to v1.18.0 #122

Merged
merged 777 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
777 commits
Select commit Hold shift + click to select a range
0748a22
chore(schemas): add reserved plan ID for admin tenant (#5976)
darcyYe Jun 3, 2024
a495ab0
feat(core): report oidc exceptions to the appInsights (#5978)
simeng-li Jun 3, 2024
ac5d846
refactor(console): click console logo should navigate to root page (#…
charIeszhao Jun 3, 2024
4d3b32f
fix(console): language switch should work on profile page (#5980)
charIeszhao Jun 3, 2024
123ecae
refactor(core): try to fix uncaught exception (#5982)
gao-sun Jun 3, 2024
5391dbc
refactor(console): use permanently delete (#5979)
gao-sun Jun 3, 2024
8669149
refactor(core): optimize redis error handling (#5965)
gao-sun Jun 4, 2024
acc22af
chore(deps): update dependency @testing-library/react to v16 (#5984)
renovate[bot] Jun 4, 2024
f4e6492
chore(connector): improve DingTalk web connector readme (#5977)
anyidea Jun 4, 2024
9ae4f7d
chore(deps): update dependency i18next-browser-languagedetector to v8…
renovate[bot] Jun 4, 2024
eacec10
chore: remove dev flags and add changeset for m2m guide feature (#5983)
xiaoyijun Jun 4, 2024
223d9e3
feat(console): add new feature content for m2m integration guide (#5947)
xiaoyijun Jun 4, 2024
7ebabc4
refactor(console): always display role creation hint in role assignme…
xiaoyijun Jun 4, 2024
7a279be
refactor(core,schemas): add user detail payload to User.Deleted webho…
simeng-li Jun 4, 2024
33537ef
refactor(console,phrases): update role assignment modal phrases (#5989)
xiaoyijun Jun 4, 2024
ec6f1d3
refactor(core): reorg organization routes
gao-sun Jun 5, 2024
ce91130
refactor(core): reorg organization queries
gao-sun Jun 5, 2024
d66d8c2
feat(schemas): init organization email domains table
gao-sun Jun 5, 2024
0874b70
Merge pull request #5991 from logto-io/gao-reorg-org-routes
gao-sun Jun 6, 2024
b85ecb6
feat(core): organization email domains apis
gao-sun Jun 6, 2024
f6dbb0a
chore: add api docs
gao-sun Jun 6, 2024
be9d94d
refactor: fix tests
gao-sun Jun 6, 2024
d4cb91e
feat(core): implement organization jit provisioning
gao-sun Jun 6, 2024
ab4867d
refactor(core): trigger organization membership updated hook from jit
gao-sun Jun 6, 2024
afb1091
refactor: fix tests
gao-sun Jun 6, 2024
fc16996
feat(console): implement organization jit ui
gao-sun Jun 7, 2024
da5c71d
Merge pull request #5993 from logto-io/gao-init-org-domain-table
gao-sun Jun 7, 2024
f28a083
feat(core,console): enable backchannel logout
gao-sun Jun 7, 2024
b50ba0b
chore: add tests and changeset
gao-sun Jun 8, 2024
d26d19a
Merge pull request #5995 from logto-io/gao-org-domain-crud
gao-sun Jun 8, 2024
3bed38c
Merge pull request #5996 from logto-io/gao-org-domain-provision
gao-sun Jun 8, 2024
efa884c
chore(console,core): launch organization jit
gao-sun Jun 8, 2024
5e13495
Merge pull request #5997 from logto-io/gao-org-jit-hook
gao-sun Jun 8, 2024
75ab459
feat(core,console): organization mfa requirement
gao-sun Jun 8, 2024
128ee0c
chore: add tests
gao-sun Jun 8, 2024
1363205
feat: automatic social account linking (#5881)
gao-sun Jun 8, 2024
930f23e
fix(core): prevent uncaught promise rejection (#6009)
simeng-li Jun 12, 2024
9f33d99
refactor(console): allow view and update `user.profile` in settings
gao-sun Jun 13, 2024
8306cc4
Merge pull request #5998 from logto-io/gao-console-jit
gao-sun Jun 14, 2024
6f0497d
refactor: apply suggestions from code review
gao-sun Jun 14, 2024
752059d
Merge pull request #6002 from logto-io/gao-enable-backchannel-logout
gao-sun Jun 14, 2024
847a7c4
refactor(console): update jit styles
gao-sun Jun 14, 2024
3ea37c5
feat(core,console): organization jit roles
gao-sun Jun 14, 2024
7d6e8dc
Merge pull request #5999 from logto-io/gao-remove-dev-features-guard
gao-sun Jun 14, 2024
b25bca3
refactor: add organization jit role api tests
gao-sun Jun 14, 2024
aefe5cb
chore: update changeset
gao-sun Jun 14, 2024
d17e26a
style(console): update tab item style in readme docs (#6013)
xiaoyijun Jun 15, 2024
15a51a4
refactor(console): imporve custom phrase fetch request error handling…
xiaoyijun Jun 15, 2024
dc6fbe2
refactor(console): improve webhook test request error handling (#6017)
xiaoyijun Jun 15, 2024
320b720
refactor: rename method
gao-sun Jun 15, 2024
6308ee1
feat(connector): google one tap
gao-sun Jun 16, 2024
942780f
feat(core): google one tap
gao-sun Jun 16, 2024
50c35a2
feat(experience): google one tap
gao-sun Jun 16, 2024
c0617f1
chore: add tests
gao-sun Jun 16, 2024
552a3e5
chore: add tests
gao-sun Jun 16, 2024
a02c20a
refactor(console): update spring boot api protection guide (#6018)
simeng-li Jun 17, 2024
ed37356
refactor(console,experience,test): decouple isDevFeatureEnabled with …
simeng-li Jun 17, 2024
b286dd3
Merge pull request #6003 from logto-io/gao-org-mfa
gao-sun Jun 17, 2024
e541716
Merge pull request #6020 from logto-io/gao-add-profile-in-user-settings
gao-sun Jun 17, 2024
d23417e
Merge pull request #6022 from logto-io/gao-update-jit-style
gao-sun Jun 17, 2024
41495a3
refactor(console): improve swr error handling that previously omitted…
charIeszhao Jun 17, 2024
4266ac8
Merge pull request #6024 from logto-io/gao-org-jit-roles
gao-sun Jun 17, 2024
59fe21a
Merge pull request #6026 from logto-io/gao-org-jit-roles-tests
gao-sun Jun 17, 2024
4118669
Merge pull request #6027 from logto-io/gao-update-changeset
gao-sun Jun 17, 2024
be1b570
chore: add comments
gao-sun Jun 17, 2024
924ccb4
Merge pull request #6030 from logto-io/gao-google-one-tap-connector
gao-sun Jun 17, 2024
ef21c7a
chore: add changeset (#6004)
gao-sun Jun 17, 2024
bb6fd66
feat: add dev feature disabled test (#6014)
simeng-li Jun 17, 2024
bc1efc7
chore: update README.md (#6038)
gao-sun Jun 18, 2024
d9119b5
Merge pull request #6031 from logto-io/gao-google-one-tap-core
gao-sun Jun 18, 2024
c2c15e8
refactor(console): show sso status in jit domains (#6040)
gao-sun Jun 18, 2024
b96848b
Merge pull request #6032 from logto-io/gao-google-one-tap-experience
gao-sun Jun 18, 2024
0ef712e
feat(console): google one tap (#6034)
gao-sun Jun 18, 2024
d210f4f
test(core): implement sso related integration tests (#6041)
simeng-li Jun 18, 2024
ead51e5
feat(console): add Ruby app guide
gao-sun Jun 18, 2024
7aba402
chore(deps): update docker/build-push-action action to v6 (#6042)
renovate[bot] Jun 18, 2024
3300e4f
chore(connector): update outdated links in connector readme (#6039)
charIeszhao Jun 18, 2024
282f091
refactor(console): support non-svg logos
gao-sun Jun 18, 2024
1bdfb43
feat(schemas): add `agree_to_terms_policy` for sie table (#6036)
xiaoyijun Jun 18, 2024
3cb7be2
feat(console,phrases): support agree to terms policy configuration (#…
xiaoyijun Jun 18, 2024
061a30a
feat(experience): support agree to terms policies (#6044)
xiaoyijun Jun 19, 2024
82e702f
Merge pull request #6046 from logto-io/gao-add-ruby
gao-sun Jun 19, 2024
d49a5f4
chore(console): update guide orders (#6047)
gao-sun Jun 19, 2024
71ba7c4
feat(core): jit organization roles (#6049)
gao-sun Jun 19, 2024
b543356
refactor(core): update relation queries
gao-sun Jun 19, 2024
97efe1e
refactor: fix google one tap issues (#6054)
gao-sun Jun 19, 2024
53ada32
chore(schemas): add legacy-pro tag to reserved plan ID (#6061)
darcyYe Jun 19, 2024
6dd2565
feat(core): init organization app apis
gao-sun Jun 19, 2024
4d879fc
refactor(core): reorg organization users api docs
gao-sun Jun 19, 2024
34a6411
chore: skip tests if needed
gao-sun Jun 19, 2024
09bd183
style(experience): add margin-bottom for terms checkbox on sign-in pa…
xiaoyijun Jun 20, 2024
e83e94f
Merge pull request #6055 from logto-io/gao-refactor-relation-queries
gao-sun Jun 20, 2024
5362772
Merge pull request #6064 from logto-io/gao-init-org-app-apis
gao-sun Jun 20, 2024
32270d1
Merge pull request #6065 from logto-io/gao-reorg-org-api-docs
gao-sun Jun 20, 2024
0f3dbbc
chore(test): reorg the sso connector api cleanup logic (#6053)
simeng-li Jun 20, 2024
e6f06cb
docs(console): add the troubleshooting section in expo guide (#6052)
simeng-li Jun 20, 2024
0d82636
feat(core): organization jit sso apis
gao-sun Jun 20, 2024
07da791
feat(core): init organization app role apis
gao-sun Jun 20, 2024
92f47ef
chore: rename legacy pro to grandfathered pro (#6076)
darcyYe Jun 20, 2024
e89147a
refactor(console): update subscription plan ID (#6074)
darcyYe Jun 20, 2024
c1ffade
Merge pull request #6067 from logto-io/gao-org-jit-sso
gao-sun Jun 21, 2024
2cf30d2
feat(core): organization jit sso
gao-sun Jun 20, 2024
a471d6a
feat(console): update jit config
gao-sun Jun 20, 2024
71f5fa3
refactor: improve code, content, and styles
gao-sun Jun 21, 2024
7f9c0f2
chore(deps): update dependency buffer to v6 (#6060)
renovate[bot] Jun 21, 2024
651a027
chore(core): add dev feature tag for openapi.json (#6025)
darcyYe Jun 21, 2024
c51eab1
Merge pull request #6069 from logto-io/gao-org-jit-sso-impl
gao-sun Jun 21, 2024
5c2aba6
chore(deps): update ikalnytskyi/action-setup-postgres action to v6 (#…
renovate[bot] Jun 21, 2024
12bcbb9
fix(experience): apply agree to terms policy for sso (#6080)
xiaoyijun Jun 21, 2024
5065eea
Merge pull request #6073 from logto-io/gao-update-console-jit
gao-sun Jun 21, 2024
9f72a45
chore: update changeset (#6077)
gao-sun Jun 21, 2024
ec95536
Merge pull request #6071 from logto-io/gao-org-app-role-apis
gao-sun Jun 21, 2024
fae1135
refactor(core): update naming and fix typos
gao-sun Jun 21, 2024
cc37247
Merge pull request #6072 from logto-io/gao-refactor-routes
gao-sun Jun 21, 2024
0f39d39
refactor(core): reorg organization routes
gao-sun Jun 21, 2024
3fbf213
fix: fix dev feature disabled integration tests
simeng-li Jun 21, 2024
6f06c41
Merge pull request #6078 from logto-io/gao-reorg-org-rotues
gao-sun Jun 22, 2024
b1a12fb
feat(core): issue subject tokens (#6045)
wangsijie Jun 22, 2024
6dd4872
chore: update code owners (#6081)
gao-sun Jun 22, 2024
b839f6c
refactor(core): return roles in organization app get api
gao-sun Jun 22, 2024
5e0a440
feat: organization role types
gao-sun Jun 22, 2024
bcd2ac7
chore: fix tests
gao-sun Jun 22, 2024
12cd49f
feat(core): get application organizations api
gao-sun Jun 22, 2024
754d0e1
feat(core): update application organization role apis
gao-sun Jun 22, 2024
0a194c6
fix: change special character to fix root paramter naming issue
mostafa Jun 22, 2024
e24ff76
fix: update mocks and docstrings
mostafa Jun 22, 2024
88f94c7
feat(console): show organization list for m2m apps
gao-sun Jun 23, 2024
097dfca
refactor: filter whole supplement document if needed (#6085)
gao-sun Jun 23, 2024
cbab5af
Merge pull request #6083 from logto-io/gao-update-org-app-fetch
gao-sun Jun 23, 2024
022b5fe
Merge pull request #6084 from logto-io/gao-org-role-types
gao-sun Jun 23, 2024
9b36101
refactor: update status code
gao-sun Jun 23, 2024
1620bbd
Merge pull request #6086 from logto-io/gao-org-app-apis
gao-sun Jun 23, 2024
58f3eea
Merge pull request #6087 from logto-io/gao-org-app-role-apis
gao-sun Jun 23, 2024
ca22bc6
feat(console): m2m pages in organizations
gao-sun Jun 23, 2024
d51e839
refactor: add changeset and improve code
gao-sun Jun 23, 2024
a43434c
Merge pull request #6089 from mostafa/fix-oas-validation-errors
gao-sun Jun 23, 2024
88ee906
refactor(core): fork client credentials grant
gao-sun Jun 23, 2024
1595360
feat: support prompt config for some built-in connectors (#6023)
darcyYe Jun 24, 2024
2f456ff
refactor: refactor integration test ci job (#6095)
simeng-li Jun 24, 2024
d81e13d
feat(console,phrases): add issuer endpoint to application form (#6094)
simeng-li Jun 24, 2024
bede80e
Merge pull request #6093 from logto-io/gao-fork-cc-grant
gao-sun Jun 24, 2024
d7d2af6
fix(schemas): explicitly set search path (#6101)
gao-sun Jun 24, 2024
b489626
Merge pull request #6088 from logto-io/gao-console-m2m-organizations
gao-sun Jun 24, 2024
581ecd9
Merge pull request #6090 from logto-io/gao-organization-m2m-apps
gao-sun Jun 24, 2024
593db0d
refactor(console): update role-related content and components (#6091)
gao-sun Jun 24, 2024
92dc008
refactor(console): hide backchannel for m2m apps (#6075)
gao-sun Jun 25, 2024
dfa0135
refactor: add brief intro in swagger.json (#6102)
gao-sun Jun 25, 2024
d123d46
fix: include `tenantId` and its root param in responses (#6092)
mostafa Jun 25, 2024
f2c7799
refactor(experience,phrases): update resend passcode phrases (#6103)
xiaoyijun Jun 25, 2024
b52609a
feat(core): add hasPassword field to custom JWT user context (#6096)
darcyYe Jun 25, 2024
75c0468
refactor: handle potential errors during ky requests in koa-auth midd…
xiaoyijun Jun 26, 2024
b590e64
feat(core): issue organization token via client credentials (#6098)
gao-sun Jun 26, 2024
8fcb747
refactor(console): upgrade mdx packages
gao-sun Jun 26, 2024
f22ed89
refactor(console): remove unused config
gao-sun Jun 26, 2024
ccf4efe
chore: fix typo (#6110)
xiaoyijun Jun 26, 2024
42cef43
Merge pull request #6113 from logto-io/gao-upgrade-mdx
gao-sun Jun 27, 2024
8fa4405
refactor: update nuxt guide (#6114)
gao-sun Jun 27, 2024
bd0487e
refactor(console): update ruby guide (#6116)
gao-sun Jun 27, 2024
211c357
refactor(console): update next guide (#6119)
wangsijie Jun 27, 2024
b1e7f62
refactor(core): update grant comments (#6120)
gao-sun Jun 27, 2024
9904ac7
chore: update README.mdx (#6121)
screencomuser Jun 27, 2024
07e3725
refactor(console): update swift guide (#6123)
gao-sun Jun 28, 2024
f8f84f5
refactor(console): polish ui (#6122)
gao-sun Jun 28, 2024
18fbdb7
refactor(console): use correct array for checking enterprise sso (#6135)
gao-sun Jun 28, 2024
7ba579f
refactor(console): update express guide (#6124)
wangsijie Jun 29, 2024
e548eea
refactor(console): polish android guide (#6131)
xiaoyijun Jun 29, 2024
9dfcecb
ci: refactor integration tests workflow
gao-sun Jun 29, 2024
e7cc05b
ci: add spaces
gao-sun Jun 29, 2024
97b8201
refactor(test): use secure random method in integration test util (#6…
charIeszhao Jun 29, 2024
16be0f9
refactor(console): update python and php guide (#6136)
darcyYe Jun 29, 2024
cc305e5
refactor(console): polish guides
gao-sun Jun 29, 2024
4b9785b
Merge pull request #6142 from logto-io/gao-polish-next-guides
gao-sun Jun 30, 2024
08699f6
chore(console): remove unmaintained remix guide (#6137)
xiaoyijun Jun 30, 2024
1e0f0bc
refactor(console): update golang guide (#6134)
xiaoyijun Jul 1, 2024
4727062
refactor(console): fix switch styles (#6132)
gao-sun Jul 1, 2024
01558bb
refactor(console): fix php guide (#6143)
gao-sun Jul 1, 2024
f78b176
feat: demo app dev panel (#6105)
gao-sun Jul 1, 2024
cb42b5a
docs(console): update the sveltekit guide (#6130)
simeng-li Jul 1, 2024
2f31d1a
chore: launch jit (#6127)
gao-sun Jul 1, 2024
87615d5
chore: launch m2m app for organizations (#6129)
gao-sun Jul 1, 2024
f6e10f8
chore: normalize Logto DB region role names for DB alteration CI (#6144)
darcyYe Jul 1, 2024
5c4ddee
docs(console): update the expo SDK integration guide (#6126)
simeng-li Jul 1, 2024
685a974
feat(core,schemas): token exchange grant (#6057)
wangsijie Jul 1, 2024
ac063f9
docs(console): update flutter intergration guide (#6125)
simeng-li Jul 1, 2024
fa325c9
fix(experience): add missing `agreeToTermsPolicy` deps (#6148)
xiaoyijun Jul 1, 2024
88dd7d2
docs(console): update the capacitor integration guide (#6128)
simeng-li Jul 1, 2024
dd69c1c
refactor: fix mermaid in production (#6149)
gao-sun Jul 1, 2024
49fea7d
Merge pull request #6140 from logto-io/gao-refactor-ci
gao-sun Jul 1, 2024
362ddc6
ci: rerun integration tests on failure (#6141)
gao-sun Jul 1, 2024
15a3d1d
docs(console): update the java spring guide (#6133)
simeng-li Jul 1, 2024
b52ef32
refactor(console): add retry button on error (#6158)
gao-sun Jul 2, 2024
414f62a
refactor(console): update vanilla js integration guide (#6156)
charIeszhao Jul 2, 2024
37bae63
refactor(console): update react integration guide (#6151)
charIeszhao Jul 2, 2024
8445db2
refactor(console): update vue integration guide (#6153)
charIeszhao Jul 2, 2024
c97ebaa
refactor(console): update angular integration guide (#6157)
charIeszhao Jul 2, 2024
81c0141
refactor(console): load mermaid in dev (#6155)
gao-sun Jul 2, 2024
2ce6ba3
feat(core): third-party applications are not allowed for token exchan…
wangsijie Jul 2, 2024
6dc3801
refactor: update compare DB alteration scripts (#6152)
darcyYe Jul 2, 2024
9d3697a
refactor: upgrade logto sdks (#6160)
gao-sun Jul 2, 2024
2b3e482
fix(console): fix broken api resource guides (#6161)
charIeszhao Jul 2, 2024
8b63652
feat(core): organization token for token exchange flow (#6106)
wangsijie Jul 2, 2024
978817e
refactor(console): optimize api resource guides (#6162)
gao-sun Jul 2, 2024
9e532f6
fix(console): fix custom element swap in mdx (#6166)
charIeszhao Jul 2, 2024
afd2d22
refactor(console): add aggregated npm installation component (#6159)
gao-sun Jul 2, 2024
c7010bb
refactor: update ci and package (#6167)
gao-sun Jul 3, 2024
06ef199
fix(console): hide error toast for non-existed application in audit l…
charIeszhao Jul 3, 2024
d60f6ce
feat: add `operationId` to HTTP methods on paths (#6108)
mostafa Jul 3, 2024
17921b5
feat(schemas): custom ui assets db update (#6010)
charIeszhao Jul 3, 2024
de9ee89
fix(core): issue `organization_id` claim for client credentials (#6170)
gao-sun Jul 3, 2024
504f5b2
feat(core): handle oidc scopes for token exchange (#6147)
wangsijie Jul 3, 2024
6178106
chore(deps): update dependency @rollup/plugin-commonjs to v26 (#5994)
renovate[bot] Jul 3, 2024
8635f1b
refactor(experience): rename `SingleSignOnContext` to `UserInteractio…
xiaoyijun Jul 4, 2024
2477a50
chore(deps): update logto-io/actions-run-logto-integration-tests acti…
renovate[bot] Jul 4, 2024
3ab4897
chore(deps): update logto-io/actions-package-logto-artifact action to…
renovate[bot] Jul 4, 2024
8d721d8
chore(deps): update silverhand-io/actions-node-pnpm-run-steps action …
renovate[bot] Jul 4, 2024
0453f80
refactor(console): improve dotnet guides
gao-sun Jul 4, 2024
9b3945a
fix(console): fix page issues (#6181)
gao-sun Jul 4, 2024
1c90671
refactor(console): check mermaid by integration test env (#6183)
gao-sun Jul 4, 2024
aec2cf4
feat(core): implement new experience API routes (#5992)
simeng-li Jul 5, 2024
d85cd32
feat(core): implement verification code verification API (#6001)
simeng-li Jul 5, 2024
1efa7e7
Merge pull request #6177 from logto-io/gao-update-dotnet-guides
gao-sun Jul 5, 2024
af44e87
refactor(console): add chrome extension guide (#6178)
gao-sun Jul 5, 2024
d16bc9b
feat(core,schemas): implement social verification experience API endp…
simeng-li Jul 5, 2024
1fa9f85
release: version packages (#5987)
silverhand-bot Jul 6, 2024
2388f00
feat(cli): added ogcio folder
SamSalvatico Sep 2, 2024
33f1322
chore(cli): added ref to ogcio command
SamSalvatico Sep 2, 2024
12de494
feat(core): added env sample
SamSalvatico Sep 2, 2024
d7dca15
chore(cli): added port collision fix
SamSalvatico Sep 2, 2024
f94b023
chore(core): updated docker compose
SamSalvatico Sep 2, 2024
9441bae
chore(cli): fixed dockerfile
SamSalvatico Sep 2, 2024
f2d8fe9
chore(cli): added makefile
SamSalvatico Sep 2, 2024
912d3f9
chore(core): updated package json
SamSalvatico Sep 2, 2024
b105abf
chore(core): updated run logto remote
SamSalvatico Sep 2, 2024
9f5e2d1
chore(core): updated pr request template
SamSalvatico Sep 2, 2024
0457c87
chore(cli): ogcio connectors
SamSalvatico Sep 2, 2024
9ad4a4b
chore(phrases): updated errors
SamSalvatico Sep 2, 2024
af1ce29
chore(core): added lot of stuffs
SamSalvatico Sep 2, 2024
f47a1bf
fix(cli): fixed port
SamSalvatico Sep 2, 2024
6608ce6
Merge branch 'dev' into spike/try-to-rebase
SamSalvatico Sep 2, 2024
6070a07
workflow main
SamSalvatico Sep 2, 2024
21af638
dockerignore
SamSalvatico Sep 2, 2024
c5332ef
readme
SamSalvatico Sep 2, 2024
d786718
basics
SamSalvatico Sep 2, 2024
5b838c6
basics
SamSalvatico Sep 2, 2024
3a12e31
basics
SamSalvatico Sep 2, 2024
5792c9a
basics
SamSalvatico Sep 2, 2024
c56b4d3
eof
SamSalvatico Sep 2, 2024
2c0c2c5
eof
SamSalvatico Sep 2, 2024
4c1898e
eof
SamSalvatico Sep 2, 2024
b1b4831
chore(core): synced
SamSalvatico Sep 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# dependencies
**/node_modules
node_modules

# testing
/packages/**/coverage
Expand Down Expand Up @@ -34,4 +34,4 @@ dump.rdb
.github
.husky
.parcel-cache
.vscode
.vscode
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,4 @@ jobs:

- name: Check alteration sequence
working-directory: ./fresh
run: node .scripts/check-alterations-sequence.js
run: node .scripts/check-alterations-sequence.js
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ports:
port: 5432
visibility: public
onOpen: ignore
# OGCIO - formsie port collision fixed
# OGCIO - formsie port collision fixed
- port: 7001
onOpen: ignore
- port: 5002
Expand Down
6 changes: 2 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
"typescript",
"typescriptreact",
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"json.schemas": [
{
"fileMatch": [
Expand Down Expand Up @@ -56,5 +53,6 @@
"upsell",
"withtyped",
"backchannel"
]
],
"eslint.codeActionsOnSave.rules": null
}
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV PORT=3301
# OGCIO
ENV ADMIN_PORT=3302

### Install toolchain ###
RUN npm add --location=global pnpm@^9.0.0
# https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#node-gyp-alpine
Expand Down Expand Up @@ -49,9 +50,11 @@ ENV PORT=3301
ENV ADMIN_PORT=3302
WORKDIR /etc/logto
COPY --from=builder /etc/logto .
RUN apk add --no-cache jq
# OGCIO
EXPOSE 3301
# OGCIO
EXPOSE 3302
#OGCIO
RUN apk add --no-cache jq
# OGCIO
CMD [ "sh", "-c", "export ENCODED_PASSWORD=$(jq --slurp --raw-input --raw-output @uri <(printf \"%s\" $POSTGRES_PASSWORD)) && export DB_URL=\"postgres://$POSTGRES_USER:$ENCODED_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB_NAME\" && export REDIS_URL=\"redis://$REDIS_HOST:$REDIS_PORT\" && npm run ogcio:start"]
2 changes: 2 additions & 0 deletions azure_pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# OGCIO

trigger:
- dev
- uat
Expand Down
25 changes: 1 addition & 24 deletions packages/connectors/connector-azuread/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,29 +66,6 @@ The `prompts` field is an array of strings that specifies the type of user inter

Logto will concatenate the prompts with a space as the value of `prompt` in the authorization URL.

### Client ID

You may find the **Application (client) ID** in the **Overview** section of your newly created application in the Azure Portal.

### Client Secret

- In your newly created application, click the **Certificates & Secrets** to get a client secret, and click the **New client secret** from the top.
- Enter a description and an expiration.
- This will only show your client secret once. Fill the **value** to the Logto connector configuration and save it to a secure location.

### Cloud Instance

Usually, it is `https://login.microsoftonline.com/`. See [Azure AD authentication endpoints](https://learn.microsoft.com/en-us/azure/active-directory/develop/authentication-national-cloud#azure-ad-authentication-endpoints) for more information.

### Tenant ID

Logto will use this field to construct the authorization endpoints. This value is dependent on the **access type** you selected when creating the application in the Azure Portal.

- If you select **Accounts in this organizational directory only** for access type then you need to enter your **{TenantID}**. You can find the tenant ID in the **Overview** section of your Azure Active Directory.
- If you select **Accounts in any organizational directory** for access type then you need to enter **organizations**.
- If you select **Accounts in any organizational directory or personal Microsoft accounts** for access type then you need to enter **common**.
- If you select **Personal Microsoft accounts only** for access type then you need to enter **consumers**.

## References

- [Web app that signs in users](https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-web-app-sign-user-overview)
- [Web app that signs in users](https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-web-app-sign-user-overview)
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ import { ApplicationType } from '@logto/schemas';
import { type GuideMetadata } from '../types';

const metadata: Readonly<GuideMetadata> = Object.freeze({
name: 'Java Spring Boot Web',
name: 'Java Spring Boot',
description:
'Spring Boot is a web framework for Java that enables developers to build secure, fast, and scalable server applications with the Java programming language.',
target: ApplicationType.Traditional,
sample: {
repo: 'spring-boot-sample',
path: '',
},
isFeatured: true,
});

export default metadata;
2 changes: 1 addition & 1 deletion packages/core/src/libraries/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,4 +303,4 @@ export const createApplicationLibrary = (queries: Queries) => {
validateUserConsentOrganizationMembership,
validateProtectedApplicationById,
};
};
};
2 changes: 1 addition & 1 deletion packages/core/src/libraries/ogcio-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { OGCIO_ORGANIZATION_ROLES, OGCIO_ORGANIZATIONS, OGCIO_ROLES } from './og

const getDefaultOrganizationsForUser = async (organizationQueries: OrganizationQueries) => {
const organizationNames: string[] = deduplicate(EnvSet.values.userDefaultOrganizationNames);
consoleLog.info('DEFUALT ORG NAMES', organizationNames);
consoleLog.info('DEFAULT ORG NAMES', organizationNames);
if (organizationNames.length === 0) {
return [];
}
Expand Down
3 changes: 1 addition & 2 deletions packages/core/src/routes/admin-user/basics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ import { conditional, pick, yes } from '@silverhand/essentials';
import { boolean, literal, nativeEnum, object, string } from 'zod';

import RequestError from '#src/errors/RequestError/index.js';
import { buildManagementApiContext } from '#src/libraries/hook/utils.js';
// OGCIO
import { manageDefaultOrganizations } from '#src/libraries/ogcio-user.js';

import { buildManagementApiContext } from '#src/libraries/hook/utils.js';
import { encryptUserPassword } from '#src/libraries/user.utils.js';
import koaGuard from '#src/middleware/koa-guard.js';
import assertThat from '#src/utils/assert-that.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,4 +462,3 @@ describe('submit action', () => {
});
});
});
/* eslint-enable max-lines */
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ async function handleSubmitRegister(
organizations,
// OGCIO
roles,
// OGCIO
usersRoles,
} = queries;

Expand Down
2 changes: 1 addition & 1 deletion packages/experience/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"precommit": "lint-staged",
"start": "parcel src/index.html",
"dev": "cross-env PORT=7001 parcel src/index.html --no-cache --hmr-port 6001",
"dev": "echo '# OGCIO' && cross-env PORT=7001 parcel src/index.html --no-cache --hmr-port 6001",
"check": "tsc --noEmit",
"build": "pnpm check && rm -rf dist && parcel build src/index.html --no-autoinstall --no-cache --detailed-report",
"lint": "eslint --ext .ts --ext .tsx src",
Expand Down
7 changes: 5 additions & 2 deletions packages/experience/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ export type PreviewConfig = {
isNative: boolean;
};

export type ArrayElement<ArrayType extends readonly unknown[]> =
ArrayType extends ReadonlyArray<infer ElementType> ? ElementType : never;
export type ArrayElement<ArrayType extends readonly unknown[]> = ArrayType extends ReadonlyArray<
infer ElementType
>
? ElementType
: never;

export type WebAuthnOptions = WebAuthnRegistrationOptions | WebAuthnAuthenticationOptions;
1 change: 0 additions & 1 deletion packages/integration-tests/src/api/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
type ProtectedAppMetadata,
type OrganizationWithRoles,
} from '@logto/schemas';
import { formUrlEncodedHeaders } from '@logto/shared';
import { conditional } from '@silverhand/essentials';

import { authedAdminApi, oidcApi } from './api.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ describe('Sign-in flow using password identifiers', () => {

await deleteUser(user.id);
});
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@ const applications = {
placeholder_title: 'Select an application type to continue',
placeholder_description:
'Logto uses an application entity for OIDC to help with tasks such as identifying your apps, managing sign-in, and creating audit logs.',
m2m_role_assignment: {
title: 'Authorize app with machine-to-machine role for permissions',
subtitle: 'Machine-to-machine applications require authorized machine-to-machine role.',
role_creation_hint:
'Can’t find the right machine-to-machine role? <a>Create a machine-to-machine role</a>',
},
};

export default Object.freeze(applications);
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ const applications = {
placeholder_title: 'Selecciona un tipo de aplicación para continuar',
placeholder_description:
'Logto utiliza una entidad de aplicación para OIDC para ayudar con tareas como la identificación de tus aplicaciones, la gestión de inicio de sesión y la creación de registros de auditoría.',
m2m_role_assignment: {
title: 'Autorizar la aplicación con rol de máquina a máquina para permisos',
subtitle:
'Las aplicaciones de máquina a máquina requieren un rol de máquina a máquina autorizado.',
role_creation_hint:
'¿No puede encontrar el rol adecuado de máquina a máquina? <a>Crear un rol de máquina a máquina</a>',
},
};

export default Object.freeze(applications);
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ const applications = {
placeholder_title: 'Seleziona un tipo di applicazione per continuare',
placeholder_description:
"Logto utilizza un'entità applicazione per OIDC per aiutarti in compiti come l'identificazione delle tue app, la gestione dell'accesso e la creazione di registri di audit.",
m2m_role_assignment: {
title: "Autorizza l'applicazione con ruolo da macchina a macchina per le autorizzazioni",
subtitle:
'Le applicazioni da macchina a macchina richiedono un ruolo da macchina a macchina autorizzato.',
role_creation_hint:
'Non riesci a trovare il ruolo giusto per macchina a macchina? <a>Crea un ruolo macchina a macchina</a>',
},
};

export default Object.freeze(applications);
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ const applications = {
placeholder_title: '続行するにはアプリケーションタイプを選択してください',
placeholder_description:
'LogtoはOIDCのためにアプリケーションエンティティを使用して、アプリケーションの識別、サインインの管理、監査ログの作成などのタスクをサポートします。',
m2m_role_assignment: {
title: 'アプリを権限付きのマシン間ロールで認可する',
subtitle: 'マシン間アプリケーションには承認されたマシン間ロールが必要です。',
role_creation_hint: '適切なマシン間ロールが見つかりませんか? <a>マシン間ロールを作成する</a>',
},
};

export default Object.freeze(applications);
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ const applications = {
placeholder_title: 'Wybierz typ aplikacji, aby kontynuować',
placeholder_description:
'Logto używa jednostki aplikacji dla OIDC, aby pomóc w takich zadaniach jak identyfikowanie Twoich aplikacji, zarządzanie logowaniem i tworzenie dzienników audytu.',
m2m_role_assignment: {
title: 'Autoryzuj aplikację z rolą maszyny do maszyny dla uprawnień',
subtitle: 'Aplikacje maszyna-do-maszyna wymagają autoryzowanej roli maszyna-do-maszyna.',
role_creation_hint:
'Nie możesz znaleźć odpowiedniej roli maszyna-maszyna? <a>Utwórz rolę maszyna-maszyna</a>',
},
};

export default Object.freeze(applications);
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ const applications = {
placeholder_title: 'Selecione um tipo de aplicativo para continuar',
placeholder_description:
'O Logto usa uma entidade de aplicativo para OIDC para ajudar nas tarefas, como identificar seus aplicativos, gerenciar o login e criar logs de auditoria.',
m2m_role_assignment: {
title: 'Autorizar aplicativo com função de máquina para máquina para permissões',
subtitle:
'Aplicativos de máquina para máquina requerem uma função de máquina para máquina autorizada.',
role_creation_hint:
'Não consegue encontrar o papel correto de máquina para máquina? <a>Crie um papel de máquina para máquina</a>',
},
};

export default Object.freeze(applications);
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ const applications = {
placeholder_title: 'Selecione um tipo de aplicação para continuar',
placeholder_description:
'O Logto usa uma entidade de aplicativo para OIDC para ajudar em tarefas como identificar seus aplicativos, gerenciar o registro e criar registros de auditoria.',
m2m_role_assignment: {
title: 'Autorizar aplicação com papel de máquina para máquina para permissões',
subtitle:
'Aplicações de máquina para máquina requerem uma função de máquina para máquina autorizada.',
role_creation_hint:
'Não consegue encontrar o papel correto de máquina para máquina? <a>Crie um papel de máquina para máquina</a>',
},
};

export default Object.freeze(applications);
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ const applications = {
placeholder_title: 'Выберите тип приложения, чтобы продолжить',
placeholder_description:
'Logto использует сущность приложения для OIDC для выполнения задач, таких как идентификация ваших приложений, управление входом в систему и создание журналов аудита.',
m2m_role_assignment: {
title: 'Авторизовать приложение с ролью от машины к машине для разрешений',
subtitle: 'Приложения от машины к машине требуют авторизованной роли от машины к машине.',
role_creation_hint:
'Не можете найти подходящую роль машина-машина? <a>Создайте роль машина-машина</a>',
},
};

export default Object.freeze(applications);
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ const applications = {
placeholder_title: 'Devam etmek için bir uygulama tipi seçin',
placeholder_description:
'Logto, uygulamanızı tanımlamaya, oturum açmayı yönetmeye ve denetim kayıtları oluşturmaya yardımcı olmak için OIDC için bir uygulama varlığı kullanır.',
m2m_role_assignment: {
title: 'İzinler için makineye özel rolle uygulamayı yetkilendir',
subtitle: 'Makine-makine uygulamaları yetkilendirilmiş bir makine-makine rolü gerektirir.',
role_creation_hint:
'Doğru makineden makineye rolünü bulamıyor musunuz? <a>Makineden makineye rol oluşturun</a>',
},
};

export default Object.freeze(applications);
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ const applications = {
placeholder_title: '选择应用程序类型以继续',
placeholder_description:
'Logto 使用 OIDC 的应用程序实体来帮助识别你的应用程序、管理登录和创建审计日志等任务。',
m2m_role_assignment: {
title: '使用机器到机器角色授权应用程序以获取权限',
subtitle: '机器对机器应用程序需要经过授权的机器对机器角色。',
role_creation_hint: '找不到合适的机器对机器角色?<a>创建一个机器对机器角色</a>',
},
};

export default Object.freeze(applications);
7 changes: 0 additions & 7 deletions packages/schemas/src/consts/subscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ export enum ReservedPlanId {
* - LOG-8339: Migrate legacy Stripe data
*/
Hobby = 'hobby',
/**
* @deprecated
* Now this `pro` ID is not used anymore, we use `hobby` as the `pro` plan ID.
* Only use this `pro` value when displaying the plan ID to the user.
*
* Todo @darcyYe see `Hobby` todo
*/
Pro = 'pro',
/**
* @deprecated
Expand Down
2 changes: 2 additions & 0 deletions pipeline-templates/build_service.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# OGCIO

parameters:
- name: serviceName
default: ""
Expand Down
2 changes: 2 additions & 0 deletions pipeline-templates/deploy_ecs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# OGCIO

parameters:
- name: serviceName
- name: awsRegion
Expand Down
2 changes: 2 additions & 0 deletions pipeline-templates/push_image.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# OGCIO

parameters:
- name: serviceName
- name: awsRegion
Expand Down
2 changes: 2 additions & 0 deletions pipeline-variables/dev.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# OGCIO

variables:
awsServiceConnection: life-events-dev-ecr
awsRegion: eu-west-1
Expand Down
2 changes: 2 additions & 0 deletions pipeline-variables/sta.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# OGCIO

variables:
awsServiceConnection: life-events-sta-ecr
awsRegion: eu-west-1
Expand Down
2 changes: 2 additions & 0 deletions pipeline-variables/uat.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# OGCIO

variables:
awsServiceConnection: life-events-uat-ecr
awsRegion: eu-west-1
Expand Down
Loading