Livio Spring and GitHub
3539418a4a
fix: handle UserLoginMustBeDomain changes correctly ( #4765 )
...
* fix: handle UserLoginMustBeDomain changes correctly
* fix: remove verified domains (and not only primary) as suffix
* fix: ensure testability by changing map to slice
* cleanup
* reduce complexity of DomainPolicyUsernamesWriteModel.Reduce()
* add test for removed org policy
2022-12-06 09:01:31 +01:00
062887269b
fix(login): check user state before ignoreUnknownUsernames setting ( #4759 )
...
Co-authored-by: Fabi <[email protected] >
2022-11-24 09:13:19 +00:00
Livio Spring and GitHub
f86d057a92
fix: ensure setup steps are done in order and one at a time ( #4749 )
...
* fix: ensure setup steps are done in order and one at a time
* fix err handling
2022-11-23 15:31:59 +00:00
Livio Spring and GitHub
6a1a907874
fix: change index names to work with postgres ( #4740 )
2022-11-23 11:25:49 +00:00
Livio Spring and GitHub
e8babf1048
fix: reduce load on view tables ( #4716 )
...
* fix: reduce load on view tables
* create prerelease
* linting: pass context to view handlers
* fix error handling of refresh token handler
* fix: improve processing of successful instanceIDs on views
* fix revert intended change in .golangci.yaml
* fix: set timeout for processInstances in spooler
* fix: reduce update to active tokens on profile change
* change token expiration query to db now()
* remove branch from .releaserc.js
2022-11-22 07:36:48 +01:00
29441ce4b6
feat: save last occurrence of failed events and fix instance filtering ( #4710 )
...
* fix: filter failed events and current sequence correctly
* fix failed events sorting column
* feat: save last occurrence of failed event
* fix failedEvents query and update sql statements
* change sql statement to only create index
* fix linting
* fix linting
* Update internal/query/failed_events.go
Co-authored-by: Silvan <[email protected] >
* update job name on test-docs to match the one from test-code
Co-authored-by: Silvan <[email protected] >
2022-11-18 13:49:38 +01:00
Livio Spring and GitHub
6d787bfd62
fix: ensure actions execution on idp flows ( #4711 )
2022-11-18 12:49:17 +01:00
Livio Spring and GitHub
d190567a20
fix issue template ( #4690 )
2022-11-11 12:40:25 +00:00
Livio Spring and GitHub
5b4b29f8ce
fix issue template ( #4689 )
2022-11-10 15:55:21 +00:00
Livio Spring and GitHub
78ae64471a
fix: improve performance by reducing full table scans ( #4684 )
...
* use instance id on update in projections
* create index on domain in instance_domain projection
* add missing instanceID filter to app queries
2022-11-10 11:59:33 +01:00
eba602e064
feat: allow import of federated users in ImportHumanUser ( #4675 )
...
Co-authored-by: Fabi <[email protected] >
2022-11-09 08:33:50 +00:00
Livio Spring and GitHub
4eb8ad8777
fix: redirect / to login UI ( #4669 )
2022-11-09 07:19:05 +00:00
Livio Spring and GitHub
5ac956b0f1
fix: allow version to be overwritten by build again ( #4656 )
2022-11-07 09:50:44 +00:00
41c043bcd9
fix: remove userid unique constraint and fix user list query ( #4632 )
...
* fix: remove userid unique constraint and fix user list query
* fix: improve instances query
* improve user queries
Co-authored-by: Silvan <[email protected] >
2022-11-07 10:33:22 +01:00
Livio Spring and GitHub
c791f6de58
fix: improve startup times by initializing projection tables during setup ( #4642 )
...
* fix: improve startup times by initializing projections table during setup
* add missing file
2022-11-04 09:21:58 +00:00
Livio Spring and GitHub
b45e5b0adc
fix: nil pointer on jwt idps in actions ( #4619 )
2022-10-27 14:53:40 +02:00
Livio Spring and GitHub
441f215513
fix: join on instanceIDs in queries ( #4612 )
2022-10-27 06:08:36 +00:00
Livio Spring and GitHub
d721f725fd
fix: instance remove ( #4602 )
2022-10-26 13:06:48 +00:00
27e7dc68a8
feat: allow disabling the mfa setup prompt ( #4575 )
...
* feat: allow disabling the mfa setup prompt
* e2e: disable mfa prompt
Co-authored-by: Max Peintner <[email protected] >
2022-10-26 10:20:01 +02:00
Livio Spring and GitHub
3270a94291
fix: idp usage ( #4571 )
...
* fix: send email verification instead of init code for idp users
* fix: select single idp of external only users
* fix: use single idp on login
2022-10-18 14:48:26 +00:00
Livio Spring and GitHub
b0b1e94090
feat(login): additionally use email/phone for authentication ( #4563 )
...
* feat: add ability to disable login by email and phone
* feat: check login by email and phone
* fix: set verified email / phone correctly on notify users
* update projection version
* fix merge
* fix email/phone verified reduce tests
* fix user tests
* loginname check
* cleanup
* fix: update user projection version to handle fixed statement
2022-10-17 19:19:15 +00:00
Livio Spring and GitHub
9ae58b62fd
fix(email): set sender address as return-path header ( #4569 )
2022-10-17 15:05:03 +00:00
Livio Spring and GitHub
6daf44a34a
fix: clear potentially existing user information on auth request for domain discovery ( #4528 )
2022-10-11 11:12:07 +02:00
Livio Spring and GitHub
3b03ad82bf
fix: registration allowed check and pass loginname to registration ( #4507 )
2022-10-07 12:17:17 +00:00
Livio Spring and GitHub
d775020a32
fix: login for initial users ( #4506 )
2022-10-07 13:56:50 +02:00
bffb10a4b4
feat: allow domain discovery for unknown usernames ( #4484 )
...
* fix: wait for projection initialization to be done
* feat: allow domain discovery for unknown usernames
* fix linting
* Update console/src/assets/i18n/de.json
Co-authored-by: Fabi <[email protected] >
* Update console/src/assets/i18n/en.json
Co-authored-by: Fabi <[email protected] >
* Update console/src/assets/i18n/it.json
Co-authored-by: Fabi <[email protected] >
* Update console/src/assets/i18n/fr.json
Co-authored-by: Fabi <[email protected] >
* fix zh i18n text
* fix projection table name
Co-authored-by: Fabi <[email protected] >
2022-10-06 13:30:14 +02:00
fcb36cd406
fix: wait for projection initialization to be done ( #4473 )
...
* fix: wait for projection initialization to be done
* close channel
Co-authored-by: Silvan <[email protected] >
2022-10-03 14:09:59 +00:00
df624f0de5
fix: change default log level to info ( #4470 )
...
Co-authored-by: Silvan <[email protected] >
2022-10-03 13:20:16 +00:00
Livio Spring and GitHub
2d6281ce5b
docs: JWT IDP ( #2475 )
...
* docs: first draft for jwt idp
* update to v2 and fix typos
2022-09-27 15:42:13 +02:00
7dfa1925cc
feat: restrict login to specific org by id (scope) ( #4294 )
...
* feat: add new org scope
* change default of UserLoginMustBeDomain to false
* return resource owner claims
* fix: use email style for first user
* fix: ensure email style for default users (backwards compatibility)
* change to external domain (as it was before UserLoginMustBeDomain change)
* update e2e tests to use email style usernames
* document new scope
* lint e2e
Co-authored-by: Fabi <[email protected] >
2022-09-23 12:08:10 +00:00
Livio Spring and GitHub
7aef0ccfee
fix(email): set correct logo url ( #4426 )
2022-09-21 14:18:55 +00:00
05cb672cff
fix(login): custom texts for pages called directly form mail link ( #4415 )
...
* fix(login): translate init password correctly
* refactor: no error return params
* fix(login): custom texts for pages called directly form mail link
* fix custom text on registration pages
Co-authored-by: adlerhurst <[email protected] >
2022-09-20 07:22:47 +00:00
Livio Spring and GitHub
8505eb4cc9
docs(oidc): clarify project roles scope and claim ( #4411 )
2022-09-19 14:17:48 +02:00
Livio Spring and GitHub
aa4df33b62
docs(oidc): use correct audience (issuer) for JWT Profile ( #4336 )
2022-09-07 15:27:29 +02:00
Livio Spring and GitHub
04ce8b2479
fix: remove idps from org login policy after reset ( #4327 )
2022-09-07 14:17:52 +02:00
Livio Spring and GitHub
4723e911f4
fix: provider type column in idp_login_policy_links projection ( #4325 )
2022-09-06 06:39:03 +00:00
Livio Spring and GitHub
279b487961
fix: use correct db schema ( #4308 )
2022-09-05 08:29:32 +00:00
Livio Spring and GitHub
5aa91ad105
fix: improve performance ( #4300 )
...
## Note
This release requires a setup step to fully improve performance.
Be sure to start ZITADEL with an appropriate command (zitadel start-from-init / start-from-setup)
## Changes
- fix: only run projection scheduler on active instances
- fix: set default for concurrent instances of projections to 1 (for scheduling)
- fix: create more indexes on eventstore.events table
- fix: get current sequence for token check (improve reread performance)
2022-09-02 14:05:13 +00:00
adb5394ae3
fix: login text changes ( #4269 )
...
* fix: omit empty (zero) dates
* overwrite current date on save
* update date on reset
* smtp
* disable reset
Co-authored-by: Max Peintner <[email protected] >
2022-09-02 10:29:06 +02:00
Livio Spring and GitHub
bee616c11a
fix: SMTP config setup ( #4272 )
...
* fix: change default for SMTPSenderAddressMatchesInstanceDomain to false
* fix: handle error in console
2022-09-02 09:04:29 +02:00
Livio Spring and GitHub
32b751a3a0
fix: WebAuthN (registration / login) and list on users ( #4290 )
...
* fix: WebAuthN when running under non default port
* fix: remove notification schema from list of views / failed events
* fix: auth method column type in user auth methods
2022-09-01 09:10:07 +02:00
Livio Spring and GitHub
64f589c435
fix: read custom texts for pages called directly form mail link ( #4255 )
...
* fix: read custom texts for pages called directly form mail link
* log errors
2022-08-26 08:53:11 +00:00
Livio Spring and GitHub
e1a981928c
fix: action query ( #4257 )
2022-08-26 08:38:41 +00:00
Livio Spring and GitHub
47930c6a85
fix: handle instanceID correctly in auth projections ( #4252 )
2022-08-25 13:38:35 +00:00
Livio Spring and GitHub
cb8e6c9f24
chore: update stable to 2.2.0 ( #4246 )
2022-08-25 11:17:47 +02:00
Livio Spring and GitHub
4c26665b93
fix: improve user grants precondition checks ( #4237 )
...
* fix: improve user grants precondition checks
* build rc
* fix prerelease
* fix: build image
* remove branch from releaserc
2022-08-24 11:38:59 +02:00
Livio Spring and GitHub
06fd70d457
chore: always push docker image ( #4236 )
...
(only skip latest manifest on prereleases)
2022-08-24 09:53:14 +02:00
69534a2f7a
feat: allow JWT for ZITADEL APIs ( #4206 )
...
* feat: allow JWT for ZITADEL APIs
* improve getTokenIDAndSubject
* comment
Co-authored-by: Silvan <[email protected] >
2022-08-23 08:02:36 +02:00
Livio Spring and GitHub
cc612fed07
fix: trim spaces for usernames and organization names ( #4217 )
2022-08-19 15:00:14 +02:00
Livio Spring and GitHub
d656b3f3c9
fix: instance interceptors return NotFound (404) error for unknown hosts ( #4184 )
...
* fix: instance interceptors return "NotFound" (404) error for unknown hosts
* fix tests
2022-08-17 06:07:41 +00:00
Livio Spring and GitHub
9c37f39d43
docs: better distinct JWT Profile grant and assertion ( #4201 )
...
docs: update JWT Profile grant
2022-08-16 14:49:37 +02:00
dcac08b1d5
fix: caching of assets (correct headers and versioned avatar and variables.css url) ( #4118 )
...
* fix: caching of assets (correct headers and versioned avatar url)
* serve variables.css versioned and extend shared max age of assets
* fix TestCommandSide_AddHumanAvatar
* refactor: const types
* refactor: return values
Co-authored-by: Fabi <[email protected] >
Co-authored-by: adlerhurst <[email protected] >
2022-08-16 05:04:36 +00:00
Livio Spring and GitHub
90cec44de4
chore: remove stale bot ( #4156 )
2022-08-10 06:55:10 +00:00
Livio Spring and GitHub
c5b4441373
chore: add stale bot ( #4153 )
2022-08-09 16:14:16 +02:00
Livio Spring and GitHub
02d2032790
feat: add ZITADEL project id scope ( #4146 )
...
* feat: add ZITADEL project id scope
* update documentation
* documentation
* fix scopes
* change to lowercase
2022-08-09 09:45:59 +02:00
Livio Spring and GitHub
d4d39dbd80
docs: document authentication for system api ( #4140 )
...
* docs: add authentication for system api
* update defaults.yaml
2022-08-08 14:52:59 +02:00
Livio Spring and GitHub
64508c42ea
chore: fix .goreleaser.yaml ( #4109 )
2022-08-03 10:55:54 +00:00
Livio Spring and GitHub
dba0fdcf7b
fix: handle user metadata projection correctly ( #4098 )
2022-08-03 09:50:23 +02:00
Livio Spring and GitHub
6b30be77e6
fix: restrict domain names to alphanumeric characters ( #4104 )
...
* fix: restrict domain names to alphanumeric characters
* improve error message
2022-08-03 07:25:25 +00:00
Livio Spring and GitHub
fbd04d399d
fix: hide / show username suffix correctly on registration pages ( #4097 )
2022-08-02 16:31:35 +02:00
Livio Spring and GitHub
459779ae3a
docs: update db config in example configs ( #4077 )
...
* docs: update db config in example configs
* fix version
* more cockroach
2022-07-29 15:45:38 +00:00
Livio Spring and GitHub
6e6f5d5f17
docs: fix broken links in examples overview ( #4074 )
2022-07-29 14:12:52 +02:00
Livio Spring and GitHub
f610d48569
feat: prepare for multiple database types ( #4068 )
...
BREAKING CHANGE: the database and admin user config has changed.
2022-07-28 16:25:42 +02:00
Livio Spring and GitHub
d620126aab
fix: handle nil pointer when login hint is invalid ( #4066 )
...
* fix: handle nil pointer when login hint is invalid
* mention encoding for login_hint
2022-07-28 14:11:10 +02:00
Livio Spring and GitHub
096e12d3d0
fix: set domain verified if domain policy does not require validation ( #4061 )
...
* fix: set domain verified if domain policy does not require validation
* handle domain claimed
2022-07-28 13:18:31 +02:00
5bd9badbcf
fix: project grants ( #4031 )
...
* fix: filter granted memberships correctly
* fix: only show changes of granted project
* Apply suggestions from code review
Co-authored-by: Fabi <[email protected] >
* Update internal/query/user_membership.go
Co-authored-by: Fabi <[email protected] >
Co-authored-by: Fabi <[email protected] >
2022-07-27 07:55:44 +00:00
Livio Spring and GitHub
c15577c1f9
fix: use default redirect uri when not passed on end_session endpoint ( #4054 )
...
* fix: use default redirect uri when not passed on end_session endpoint
* instance state
2022-07-27 09:49:16 +02:00
Livio Spring and GitHub
ccde49b323
feat: extend claims of introspection response ( #4018 )
...
* feat: extend claims of introspection response
* update oidc lib
2022-07-25 09:38:15 +02:00
Livio Spring and GitHub
9fc8a43642
fix: handle events of PATs correctly ( #4024 )
2022-07-22 13:47:55 +02:00
aed7010508
fix: scheduling ( #3978 )
...
* fix: improve scheduling
* build pre-release
* fix: locker
* fix: user handler and print stack in case of panic in reducer
* chore: remove sentry
* fix: improve handler projection and implement tests
* more tests
* fix: race condition in tests
* Update internal/eventstore/repository/sql/query.go
Co-authored-by: Silvan <[email protected] >
* fix: implemented suggested changes
* fix: lock statement
Co-authored-by: Silvan <[email protected] >
2022-07-22 10:08:39 +00:00
Livio Spring and GitHub
91206967b4
fix: reset custom org domain policy ( #4014 )
2022-07-21 13:46:59 +02:00
Livio Spring and GitHub
95481c2e0b
feat: allow system config changes ( #3876 )
...
* feat: run repeatable setup steps
* feat: react to system config changes
* renaming
2022-07-20 11:20:49 +02:00
9b6dad18cb
feat: provide metrics endpoint ( #3902 )
...
* feat: provide metrics endpoint
* config
* enable otel metrics by default
Co-authored-by: Florian Forster <[email protected] >
2022-07-18 10:42:32 +02:00
Livio Spring and GitHub
fa4bc47b3e
feat: specify org member roles in org setup ( #3950 )
2022-07-12 13:38:47 +00:00
Livio Spring and GitHub
6463b716ce
fix: handle org de-/reactivate correctly ( #3924 )
2022-07-07 13:13:17 +00:00
Livio Spring and GitHub
427d21ad45
fix: (french) translations ( #3922 )
2022-07-07 10:58:24 +00:00
a1d404291d
fix(notify): notify user in projection ( #3889 )
...
* start implement notify user in projection
* fix(stmt): add copy to multi stmt
* use projections for notify users
* feat: notifications from projections
* feat: notifications from projections
* cleanup
* pre-release
* fix tests
* fix types
* fix command
* fix queryNotifyUser
* fix: build version
* fix: HumanPasswordlessInitCodeSent
Co-authored-by: adlerhurst <[email protected] >
2022-07-06 14:09:49 +02:00
Livio Spring and GitHub
8434eaa9c0
fix: require user verification for passwordless authentication ( #3896 )
2022-07-06 08:32:05 +02:00
Livio Spring and GitHub
12d4d3ea0b
fix: enable env vars in setup steps (and deprecate admin subcommand) ( #3871 )
...
* fix: enable env vars in setup steps (and deprecate admin subcommand)
* fix tests and error text
2022-06-27 10:32:34 +00:00
Livio Spring and GitHub
30f553dea1
feat: provide instance info on admin api and return version on instances responses (admin and system api) ( #3802 )
...
* feat: provide instance info on admin api and return version on instances responses (admin and system api)
* fix GetMyInstance
2022-06-27 09:12:06 +00:00
Livio Spring and GitHub
1b4740c78f
fix: primary domain scope (handle context correctly) ( #3872 )
2022-06-27 09:24:23 +02:00
Livio Spring and GitHub
ed5721d39e
feat: TLS support ( #3862 )
...
* feat: TLS support
* add comment
* fix comment
2022-06-24 12:38:22 +00:00
Livio Spring and GitHub
f4e91f0b5b
fix: update oidc pkg (state and redirect_uri handling) ( #3853 )
2022-06-22 07:31:36 +00:00
Livio Spring and GitHub
1daa924fa3
docs: update api introduction ( #3781 )
2022-06-21 08:03:30 +00:00
Livio Spring and GitHub
c2e0c8c37c
docs: add curl for introspection_endpoint with basic auth ( #3851 )
2022-06-21 09:50:23 +02:00
Livio Spring and GitHub
f57e3df39d
fix: sms providers ( #3801 )
2022-06-13 08:34:11 +02:00
Livio Spring and GitHub
504d91d424
fix: allow env vars to override setup defaults ( #3800 )
2022-06-10 13:34:52 +00:00
6bd5799770
fix: idp styling ( #3797 )
...
* fix: idp styling
* escape idp a color
* elevation on hover
* css gen
Co-authored-by: Max Peintner <[email protected] >
2022-06-10 13:17:33 +00:00
Livio Spring and GitHub
7b0f0b81a3
fix: set instanceID correctly in org project mapping ( #3789 )
2022-06-10 13:12:07 +00:00
Livio Spring and GitHub
03a77b381e
fix: password check policy correctly ( #3787 )
...
* fix: password check policy correctly
* fix: password check policy correctly
2022-06-09 13:48:57 +00:00
Livio Spring and GitHub
7f34ce1891
fix: allow project grants without roles in database ( #3786 )
2022-06-09 11:48:54 +02:00
Livio Spring and GitHub
a377f2816c
feat: return instance domains on list instances, fix: login policy and avatar url in oidc responses ( #3785 )
...
* feat: return instance domains on list instances
* fix: filter login policy idps correctly
* remove debug
* fix: absolute avatar url in oidc responses
2022-06-08 13:46:24 +02:00
Livio Spring and GitHub
ace94917da
test: ensure consistency of TestSpooler_awaitError ( #3750 )
2022-06-07 11:40:46 +00:00
Livio Spring and GitHub
5e4b38d69b
fix: improve oidc issuer / endpoints ( #3753 )
...
* fix: improve oidc issuer / endpoints
* docs: update endpoints
2022-06-07 10:04:51 +02:00
Livio Amstutz and GitHub
3a1569bd94
fix: grpc gateway interceptors ( #3767 )
2022-06-03 12:44:04 +00:00
Livio Amstutz and GitHub
da1f74fde0
fix: update user sessions after avatar or primary domain change ( #3768 )
2022-06-03 12:37:24 +00:00
Livio Amstutz and GitHub
0baaaf8a05
fix: handle default org id ( #3769 )
2022-06-03 14:30:39 +02:00
Livio Amstutz and GitHub
6506ce537d
fix: sql error check ( #3762 )
2022-06-01 16:00:25 +00:00
Livio Amstutz and GitHub
d65761f388
fix: render only base language in html ( #3759 )
2022-06-01 15:32:18 +02:00
32afa77b97
fix: compatibility for cockroach v22.1 ( #3754 )
...
* fix: compatability for cockroach v22.1
* update cr version in docs and compose
* bind dev cockroach to 127.0.0.1
* Revert "bind dev cockroach to 127.0.0.1"
This reverts commit 1c7c6304ae6682801f8475a8eac91569442b6b8d.
* remove --listen-addr flag
* use v2.0.0-v2-alpha.16
* use v2.0.0-v2-alpha.17
Co-authored-by: Elio Bischof <[email protected] >
2022-06-01 11:41:01 +02:00