Livio Spring
c07411e314
fix: only reuse port for integration tests ( #5817 )
...
* fix: only reuse port for integration tests
* exclude default listenConfig from integration build
2023-05-11 08:58:35 +00:00
Max Peintner
2dc016ea3b
feat(console): device code ( #5771 )
...
* feat: device code
* device code, create stepper
* rm logs
* app setup with device code
* remove redirects if grant type is device code only
* add device code app e2e
---------
Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>
Co-authored-by: Elio Bischof <elio@zitadel.com>
2023-05-11 08:18:14 +00:00
Elio Bischof
35a0977663
fix: improve exhausted SetCookie header ( #5789 )
...
* fix: remove access interceptor for console
* feat: template quota cookie value
* fix: send exhausted cookie from grpc-gateway
* refactor: remove ineffectual err assignments
* Update internal/api/grpc/server/gateway.go
Co-authored-by: Livio Spring <livio.a@gmail.com>
* use dynamic host header to find instance
* add instance mgmt url to environment.json
* support hosts with default ports
* fix linting
* docs: update lb example
* print access logs to stdout
* fix grpc gateway exhausted cookies
* cleanup
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-05-11 09:24:44 +02:00
Livio Spring
c2cb84cd24
feat(api): new session service ( #5801 )
...
* backup new protoc plugin
* backup
* session
* backup
* initial implementation
* change to specific events
* implement tests
* cleanup
* refactor: use new protoc plugin for api v2
* change package
* simplify code
* cleanup
* cleanup
* fix merge
* start queries
* fix tests
* improve returned values
* add token to projection
* tests
* test db map
* update query
* permission checks
* fix tests and linting
* rework token creation
* i18n
* refactor token check and fix tests
* session to PB test
* request to query tests
* cleanup proto
* test user check
* add comment
* simplify database map type
* Update docs/docs/guides/integrate/access-zitadel-system-api.md
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
* fix test
* cleanup
* docs
---------
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
2023-05-05 15:34:53 +00:00
Fabi
74377c2c37
docs: remove tasklist ( #5806 )
2023-05-05 12:22:39 +00:00
Miguel Cabrerizo
3ca7147808
fix: introduce measures to avoid bots crawling and indexing activities ( #5728 )
...
* fix: 404 for robots.txt and meta robots tags
* fix: add unit tests for robots txt and tag
* fix: add meta tag robots none for login pages
* fix: weird format issue in header.go
* fix: add x-robots-tag=none to grpcwebserver
* fix linting
---------
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-05-05 10:25:02 +02:00
mffap
d224172a31
docs(contrib): fix headings, add embedded code ( #5752 )
2023-05-04 16:03:07 +02:00
mffap
696fb390ae
docs(concepts): Describe audit trail feature ( #5747 )
...
* docs(concepts): Audit Trail
* event viewer
* event api
* future plans
* fix broken links
* external system
* link to logs (dependency)
* correct link
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@zitadel.com>
* service user link
* replace image
---------
Co-authored-by: Florian Forster <florian@zitadel.com>
2023-05-04 15:37:28 +02:00
mffap
9c3f149cd7
docs(sh-manage): add logging to production setup ( #5800 )
...
* docs(sh-manage): add logging to production setup
* Update docs/docs/self-hosting/manage/production.md
Co-authored-by: Florian Forster <florian@zitadel.com>
* add suggestion from review
---------
Co-authored-by: Florian Forster <florian@zitadel.com>
2023-05-04 12:37:01 +00:00
Livio Spring
f1534c0c4c
refactor: use new protoc plugin for api v2 ( #5798 )
...
* refactor: use new protoc plugin for api v2
* simplify code
2023-05-04 08:50:19 +00:00
Tim Möhlmann
e772ae55ab
chore: integration test base ( #5739 )
...
Add integrations tests for the gRPC API, primarily targeted at `v2` but
can also be used for legacy. Provides a crude framework that runs a
server, prepares a client and exposes the underlying resources such as
`command` and `query` handlers to the tester. The code in
`internal/integration` is written just as a proof of concept and
probably needs to be split up in more reusable chunks when we need more
functionality, like multiple users, organisations, instances etc.
Integrations tests for `user/v2alpha` are also included.
See the added documentation for more details.
Related to #5598
2023-05-04 09:45:04 +02:00
Tim Möhlmann
11f0f54ce5
Merge branch 'main' into integration-tests
2023-05-04 09:11:59 +02:00
Fabi
59fb58b185
docs: technical advisory ( #5792 )
...
* docs: technical advisory
* Update docs/sidebars.js
Co-authored-by: mffap <mpa@zitadel.com>
* Update docs/docs/support/advisory/a10000.md
Co-authored-by: mffap <mpa@zitadel.com>
* Update docs/docs/support/advisory/a10000.md
Co-authored-by: mffap <mpa@zitadel.com>
* Update docs/docs/support/advisory/a10000.md
Co-authored-by: mffap <mpa@zitadel.com>
---------
Co-authored-by: mffap <mpa@zitadel.com>
2023-05-04 08:32:02 +02:00
mffap
53654cb44a
docs: instances, clean-up ( #5796 )
...
* instances
* delete rate limits
* service users
* serviceusers
* serviceusers
2023-05-03 15:13:07 +02:00
Tim Möhlmann
5f0c1b5290
resolve comments
2023-05-03 15:10:27 +02:00
Tim Möhlmann
4934d6f4fa
Merge branch 'main' into integration-tests
2023-05-02 19:24:37 +03:00
Tim Möhlmann
c839cb3ce0
tie loose ends, documentation
2023-05-02 19:24:24 +03:00
Livio Spring
e0505b2def
fix: use correct org id for external authentication actions ( #5793 )
2023-05-02 16:03:33 +00:00
Silvan
40bf7e49cc
fix: correct tracing in access interceptor ( #5766 )
2023-05-02 08:46:44 +00:00
Silvan
39bdef35e7
chore: merge ( #5773 )
...
* feat: allow skip of success page for native apps (#5627 )
add possibility to return to callback directly after login without rendering the successful login page
* build next
* fix(console): disallow inline fonts, critical styles (#5714 )
fix: disallow inline
* fix(setup): step 10 for postgres (#5717 )
* fix(setup): smaller transactions (#5743 )
* fix: order by sequence by default
* test: add allowCreationDateFilter
* fix(step10): separate executions (#5754 )
* feat: allow skip of success page for native apps (#5627 )
add possibility to return to callback directly after login without rendering the successful login page
* build next
* fix(console): disallow inline fonts, critical styles (#5714 )
fix: disallow inline
* fix(setup): step 10 for postgres (#5717 )
* fix(setup): smaller transactions (#5743 )
* fix(step10): split statements
* fix(step10): split into separate execs
* chore: prerelease
* add truncate before insert
* fix: add truncate
* Merge branch 'main' into optimise-step-10
* chore: reset release definition
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
2023-04-28 14:56:51 +00:00
Tim Möhlmann
498c4436ae
inegration tests for user email
2023-04-28 17:44:59 +03:00
Livio Spring
458a383de2
fix: use current sequence for refetching of events ( #5772 )
...
* fix: use current sequence for refetching of events
* fix: use client ids
2023-04-28 16:28:13 +02:00
Silvan
c8c5cf3c5f
feat(cli): add setup cleanup
sub command ( #5770 )
...
* feat(cli): add `setup cleanup` sub command
* chore: logging
* chore: logging
2023-04-28 11:55:35 +00:00
Tim Möhlmann
4b7f5ae186
AddHumanUser tests
2023-04-28 14:39:53 +03:00
Tim Möhlmann
11ab645bb7
Merge branch 'main' into integration-tests
2023-04-27 12:47:35 +03:00
Tim Möhlmann
bd3820cc6c
correct the coverpkg path
2023-04-27 12:03:57 +03:00
Silvan
86f4477ae1
fix(step10): separate executions ( #5754 )
...
* feat: allow skip of success page for native apps (#5627 )
add possibility to return to callback directly after login without rendering the successful login page
* build next
* fix(console): disallow inline fonts, critical styles (#5714 )
fix: disallow inline
* fix(setup): step 10 for postgres (#5717 )
* fix(setup): smaller transactions (#5743 )
* fix(step10): split statements
* fix(step10): split into separate execs
* chore: prerelease
* add truncate before insert
* fix: add truncate
* Merge branch 'main' into optimise-step-10
* chore: reset release definition
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
2023-04-27 08:28:26 +00:00
mffap
5207898f60
docs(integrate): Google Cloud with Workforce Identity Federation (OIDC) ( #5682 )
...
* simplify sidebar
* initial draft
* Apply suggestions from code review
Co-authored-by: Livio Spring <livio.a@gmail.com>
* Apply suggestions from code review
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-04-27 07:37:25 +00:00
Fabi
7a337a8aa5
docs: Migrate auth0 users ( #5705 )
...
* docs: auth0 migration, add zitadel migration tool
* docs: auth0 migration, add zitadel migration tool
* use binary
* fix typo
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-04-27 07:26:58 +00:00
Tim Möhlmann
596900aba6
nolint contextcheck in NewTester
2023-04-26 20:49:33 +03:00
Tim Möhlmann
03789d43e5
re-enable PR build
2023-04-26 20:29:43 +03:00
Tim Möhlmann
ec8f741e58
coverage reports
2023-04-26 20:12:58 +03:00
Tim Möhlmann
e1655c3fbb
Revert "temporarily remove other workflow for fast running"
...
This reverts commit 68200dcbe9
.
2023-04-26 20:03:40 +03:00
Tim Möhlmann
1dc46b16b0
remove negated integration tags
2023-04-26 19:55:13 +03:00
Tim Möhlmann
90ba3a8d92
poll on test start
2023-04-26 19:54:47 +03:00
Livio Spring
6774e7f444
fix: handle userID and context correctly ( #5755 )
...
* fix: handle userID and context correctly
* fix linting
2023-04-26 16:19:32 +02:00
Livio Spring
e4a4b7cfbe
feat(api): add user creation to user service ( #5745 )
...
* chore(proto): update versions
* change protoc plugin
* some cleanups
* define api for setting emails in new api
* implement user.SetEmail
* move SetEmail buisiness logic into command
* resuse newCryptoCode
* command: add ChangeEmail unit tests
Not complete, was not able to mock the generator.
* Revert "resuse newCryptoCode"
This reverts commit c89e90ae35
.
* undo change to crypto code generators
* command: use a generator so we can test properly
* command: reorganise ChangeEmail
improve test coverage
* implement VerifyEmail
including unit tests
* add URL template tests
* begin user creation
* change protos
* implement metadata and move context
* merge commands
* proto: change context to object
* remove old auth option
* remove old auth option
* fix linting errors
run gci on modified files
* add permission checks and fix some errors
* comments
* comments
* update email requests
* rename proto requests
* cleanup and docs
* simplify
* simplify
* fix setup
* remove unused proto messages / fields
---------
Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
2023-04-26 07:47:57 +02:00
bitfactory-sem-denbroeder
19f2f83b61
feat: add otp name and make it configurable ( #5631 )
...
* feat: add otp name and make it configurable
* feat: use pre-existing otp env var
* feat: use requested domain if otp issuer is empty
* cleanup
---------
Co-authored-by: Sem den Broeder <semnelldenbroeder@gmail.com>
Co-authored-by: Elio Bischof <eliobischof@gmail.com>
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-04-26 07:17:23 +02:00
Elio Bischof
923f691d77
fix: use singleton meter provider ( #5725 )
2023-04-25 18:15:32 +00:00
Elio Bischof
c12c2f09a4
fix: switch log level of failed locks to debug ( #5746 )
2023-04-25 19:20:59 +02:00
Tim Möhlmann
234186c60c
do not run tests in parallel
2023-04-25 18:30:08 +03:00
Tim Möhlmann
68200dcbe9
temporarily remove other workflow for fast running
2023-04-25 18:11:53 +03:00
Tim Möhlmann
79084089ea
add github action for integration tests
2023-04-25 18:11:04 +03:00
Tim Möhlmann
a22b58f1c0
simple test of a health endpoint
2023-04-25 15:04:35 +03:00
Miguel Cabrerizo
79c528a2b6
fix: cnsl-redirect-uris ngModel & formGroup issue ( #5731 )
...
Co-authored-by: Max Peintner <max@caos.ch>
2023-04-25 13:53:54 +02:00
Silvan
13f6b4686a
fix(setup): smaller transactions ( #5742 )
2023-04-25 08:12:53 +00:00
Silvan
095ec21678
feat: user v2alpha email API ( #5708 )
...
* chore(proto): update versions
* change protoc plugin
* some cleanups
* define api for setting emails in new api
* implement user.SetEmail
* move SetEmail buisiness logic into command
* resuse newCryptoCode
* command: add ChangeEmail unit tests
Not complete, was not able to mock the generator.
* Revert "resuse newCryptoCode"
This reverts commit c89e90ae35
.
* undo change to crypto code generators
* command: use a generator so we can test properly
* command: reorganise ChangeEmail
improve test coverage
* implement VerifyEmail
including unit tests
* add URL template tests
* proto: change context to object
* remove old auth option
* remove old auth option
* fix linting errors
run gci on modified files
* add permission checks and fix some errors
* comments
* comments
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
2023-04-25 09:02:29 +02:00
Tim Möhlmann
e167365548
chore: test server for direct resource access
2023-04-24 20:40:31 +03:00
James Schinner
2a79e77c7b
docs: Fix typo ( #5727 )
...
Fix typo
2023-04-24 13:23:38 +02:00
mffap
0431cd15f9
docs(scenarios): domain discovery ( #5688 )
...
* formatting title configuration
* color generated boxes
* structure
* move saas
* overview
* add integration overview (fixes broken link on main page)
* instance settings
* user journeys
* fix broken link to saas
* instance considerations
* orgs
* organizations update
* instance settings: domain settings
* heading
* verification and conclusion
* fix diagram
* default org behavior from review
2023-04-21 14:54:32 +00:00