Commit Graph
2320 Commits
Author SHA1 Message Date
cedf4dda5b docs: add guide on retrieving user roles (#6248)
* Added documenation for retrieving user roles.

* Update docs/docs/guides/integrate/retrieve-user-roles.md

Co-authored-by: Fabi <[email protected]>

* Update docs/docs/guides/integrate/retrieve-user-roles.md

Co-authored-by: Fabi <[email protected]>

* Update docs/docs/guides/integrate/retrieve-user-roles.md

Co-authored-by: Fabi <[email protected]>

* Update docs/docs/guides/integrate/retrieve-user-roles.md

Co-authored-by: Fabi <[email protected]>

* Update docs/docs/guides/integrate/retrieve-user-roles.md

Co-authored-by: Fabi <[email protected]>

* Update docs/docs/guides/integrate/retrieve-user-roles.md

Co-authored-by: Fabi <[email protected]>

* Update docs/docs/guides/integrate/retrieve-user-roles.md

Co-authored-by: Fabi <[email protected]>

* Update docs/docs/guides/integrate/retrieve-user-roles.md

Co-authored-by: Fabi <[email protected]>

* Update docs/docs/guides/integrate/retrieve-user-roles.md

Co-authored-by: Fabi <[email protected]>

* Update retrieve-user-roles.md

* Update retrieve-user-roles.md

* Update docs/docs/guides/integrate/retrieve-user-roles.md

Co-authored-by: Fabi <[email protected]>

---------

Co-authored-by: Fabi <[email protected]>
Co-authored-by: Livio Spring <[email protected]>
2023-07-21 15:10:16 +02:00
Livio SpringandGitHub 01dce17b14 chore: remove on push and merge_group from pipeline execution (#6254) 2023-07-21 12:37:07 +00:00
Livio SpringandGitHub cd5e176e30 fix: user grant by id (#6242) 2023-07-21 11:04:55 +00:00
Livio SpringandGitHub cfb8f3c07f chore: linting in console (#6243)
chore: linting in console
2023-07-21 06:54:38 +00:00
ccc903a13e docs: fix loadbalancing-example (#6167)
* Fix loadbalancing-example.

* Fix typo.

---------

Co-authored-by: Florian Forster <[email protected]>
Co-authored-by: Fabi <[email protected]>
2023-07-20 07:27:58 +00:00
07ef9af513 fix: api docs (#6229)
Co-authored-by: Florian Forster <[email protected]>
2023-07-20 06:59:06 +00:00
fcc1acbf81 feat: Brazilian Portuguese internationalization (#6185)
* feat: Brazilian Portuguese internationalization

Co-authored-by: Daniel Michalichyn <[email protected]>
2023-07-20 04:40:45 +00:00
Livio SpringandGitHub fed15574f6 feat: allow to force MFA local only (#6234)
This PR adds an option to the LoginPolicy to "Force MFA for local users", so that users authenticated through an IDP must not configure (and verify) an MFA.
2023-07-20 04:06:16 +00:00
Max PeintnerandGitHub 1c3a15ff57 chore(contributing): use yarn instead of npm (#6233) 2023-07-19 12:32:33 +00:00
Livio SpringandGitHub 59f3c328ec feat(OIDC): add support for end_session for V2 tokens (#6226)
This PR adds support for the OIDC end_session_endpoint for V2 tokens. Sending an id_token_hint as parameter will directly terminate the underlying (SSO) session and all its tokens. Without this param, the user will be redirected to the Login UI, where he will able to choose if to logout.
2023-07-19 13:17:39 +02:00
Florian ForsterandGitHub 1e5fd2f66e chore: redirect api path (#6232)
* chore: redirect api path

* Update vercel.json

* Update vercel.json

* Update vercel.json
2023-07-19 00:15:41 +02:00
ffb587f9ee fix: sanitize primary domain for orgs (#6125)
* fix: sanitize primary domain for orgs

* fix: add @stebenz requested changes

---------

Co-authored-by: Stefan Benz <[email protected]>
2023-07-18 12:42:57 +00:00
ebb7a90ca7 ci: run pipeline on every push (#6221)
* ci: run pipeline on every push

* ci: run pipeline on every push on all branches

---------

Co-authored-by: Stefan Benz <[email protected]>
2023-07-18 14:32:23 +02:00
7b44209bfd feat: show all available organizations when creating project grants (#6040)
* feat: show available orgs (project) grants

* feat: add e2e for project grant

* feat: add bulgarian missing translations

* feat: update docs

* fix: add @peintnermax suggested changes

---------

Co-authored-by: Max Peintner <[email protected]>
2023-07-18 06:45:34 +00:00
Livio SpringandGitHub e1b3cda98a feat(OIDC): support token revocation of V2 tokens (#6203)
This PR adds support for OAuth2 token revocation of V2 tokens.

Unlike with V1 tokens, it's now possible to revoke a token not only from the authorized client / client which the token was issued to, but rather from all trusted clients (audience)
2023-07-17 14:33:37 +02:00
SilvanandGitHub ecf9835cb8 ci: run pipeline on every push (#6219) 2023-07-17 10:55:41 +02:00
SilvanandGitHub 1c354ca977 ci: improve performance (#5953)
* pipeline runs on ubuntu instead of docker
* added Makefile to build zitadel core (backend) and console (frontend)
* pipeline runs in parallel where possible
* pipeline is split into multiple jobs
* removed goreleaser
* added command to check if zitadel instance is running
2023-07-17 10:08:20 +02:00
Florian ForsterandGitHub bcf4bfc585 fix: autofill related issues (#6201) 2023-07-14 12:35:25 +00:00
Livio SpringandGitHub 80961125a7 feat(API): support V2 token and session token usage (#6180)
This PR adds support for userinfo and introspection of V2 tokens. Further V2 access tokens and session tokens can be used for authentication on the ZITADEL API (like the current access tokens).
2023-07-14 11:16:16 +00:00
4589ddad4a feat: integrate passwap for human user password hashing (#6196)
* feat: use passwap for human user passwords

* fix tests

* passwap config

* add the event mapper

* cleanup query side and api

* solve linting errors

* regression test

* try to fix linter errors again

* pass systemdefaults into externalConfigChange migration

* fix: user password set in auth view

* pin passwap v0.2.0

* v2: validate hashed password hash based on prefix

* resolve remaining comments

* add error tag and translation for unsupported hash encoding

* fix unit test

---------

Co-authored-by: Livio Spring <[email protected]>
2023-07-14 09:49:57 +03:00
mffapandGitHub 6fcfa63f54 docs: plausible script with pageprops (#6199)
update plausible
2023-07-13 22:42:36 +02:00
Miguel CabrerizoandGitHub 0f3c33cb86 feat: show basic info start-from-init (#6183) 2023-07-12 20:46:50 +03:00
036bb33cb8 docs: add migrate idp docs (#6181)
* docs: add migrate idp docs

* docs: apply suggestions from code review

Co-authored-by: Fabi <[email protected]>

* docs: apply suggestions from code review

* Update docs/docs/guides/integrate/identity-providers/migrate.mdx

* Update docs/docs/guides/integrate/identity-providers/migrate.mdx

---------

Co-authored-by: Fabi <[email protected]>
2023-07-12 15:57:38 +02:00
78eae6f62b fix: domain discovery should be case insensitive (#6134)
Co-authored-by: Livio Spring <[email protected]>
2023-07-12 13:02:16 +00:00
Livio SpringandGitHub ee26f99ebf fix: store auth methods instead of AMR in auth request linking and OIDC Session (#6192)
This PR changes the information stored on the SessionLinkedEvent and (OIDC Session) AddedEvent from OIDC AMR strings to domain.UserAuthMethodTypes, so no information is lost in the process (e.g. authentication with an IDP)
2023-07-12 12:24:01 +00:00
Vlatko StojkovskiandGitHub a3a1e245ad feat: i18n support for Macedonian language (#6178)
* add macedonian language to currently supported languages

* mk yaml login static with en values

* mk json assets with en values

* mk yaml notification static with en values

* add macedonian notification yaml

* mk yaml static with en values

* mk translations for login

* mk translations for internal

* macedonian translations

* - fix lint issues
2023-07-12 08:41:50 +00:00
mffapandGitHub 73edcfac92 docs(legal): update address of EU representative (#6193) 2023-07-12 08:16:39 +00:00
08f242e98d perf: skip already pushed check (#6164)
Co-authored-by: Livio Spring <[email protected]>
2023-07-11 12:10:37 +02:00
14b8cf4894 feat(api): add OIDC session service (#6157)
This PR starts the OIDC implementation for the API V2 including the Implicit and Code Flow.


Co-authored-by: Livio Spring <[email protected]>
Co-authored-by: Tim Möhlmann <[email protected]>
Co-authored-by: Stefan Benz <[email protected]>
2023-07-10 13:27:00 +00:00
mffapandGitHub be1fe36776 fix: management proto delete machine key (#6179) 2023-07-10 12:50:17 +00:00
Tim MöhlmannandGitHub 112f672266 chore: cleanup command/crypto (#5883)
* chore: cleanup command/crypto

* cleanup unused function mockEmailCode
2023-07-10 08:07:10 +00:00
40a073fd33 fix(console): show warn on idp removal (#6004)
* fix: show warn on idp removal

* de, bg

* observable for refresh

---------

Co-authored-by: Elio Bischof <[email protected]>
2023-07-10 06:51:17 +00:00
5cba5cd635 fix: set samesite to none for user agent cookie for iframe usage (#6162)
Co-authored-by: Fabi <[email protected]>
2023-07-10 07:51:56 +02:00
FabiandGitHub 48bda9aa07 fix: Role (#6160)
* fix: add user self manager role (can delete himself)

* fix: add user self manager role (can delete himself)

* fix: add user self manager role (can delete himself)
2023-07-07 20:14:07 +00:00
Livio SpringandGitHub 26d63cd233 fix: handle missing parameters in external provider callback (#6158) 2023-07-07 21:04:55 +02:00
6319fdda9e fix: add scope profile to PAT (#6154)
Co-authored-by: Fabi <[email protected]>
2023-07-07 17:31:42 +02:00
Livio SpringandGitHub 59d67bde5f fix: return secret generators (#6159) 2023-07-07 14:46:02 +00:00
a5b4319f1f fix: ignore unchanged console redirect_uris when adding an instance domain (#6156)
Co-authored-by: Fabi <[email protected]>
2023-07-07 14:15:19 +00:00
94fdb9a022 fix: org metadata query (#6161)
Co-authored-by: Fabi <[email protected]>
2023-07-07 15:48:41 +02:00
FabiandGitHub 5182cb3ce3 fix: rename to given and family name (#6152)
* fix: rename to given and family name

* fix: rename to given and family name

* fix: rename to given and family name
2023-07-07 13:13:45 +00:00
FabiandGitHub 5f5f1558d0 fix: Fix OIDC example (#6138)
* fix: oidc app additional origins example

* fix: oidc app additional origins example
2023-07-07 12:21:02 +00:00
d8b823660b fix: add .txt ending to domain validation as given in console (#6079)
* fix: add .txt ending to domain validation as given in console

* fix console

---------

Co-authored-by: Max Peintner <[email protected]>
Co-authored-by: Livio Spring <[email protected]>
2023-07-07 11:50:45 +00:00
Max PeintnerandGitHub 699fc86d1b fix(login): improve and streamline identity provider styles (#5456)
* fix: login idp styles

* rem dead code
2023-07-07 11:17:08 +00:00
Livio SpringandGitHub 9fed1a7a5b fix: add font color on new label policy (#6155) 2023-07-07 09:21:10 +00:00
c0e45b63d8 fix: reset the call timestamp after a bulk trigger (#6080)
* reproduce #5808

Add an integration test that imports and gets N amount of human users.
- With N set to 1-10 the operation seems to succeed always
- With N set to 100 the operation seems to fail between 1 and 7 times.

* fix merge issue

* fix: reset the call timestamp after a bulk trigger

With the use of `AS OF SYSTEM TIME` in queries,
there was a change for the query package not
finding the latest projection verson after
a bulk trigger.
If events where processed in the bulk trigger,
the resulting row timestamp would be after the call
start timestamp.
This sometimes resulted in consistency issues when
Set and Get API methods are called in short succession.
For example a Import and Get user could sometimes result in a Not Found
error.

Although the issue was reported for the Management API user import,
it is likely this bug contributed to the flaky integration and e2e tests.

Fixes #5808

* trigger bulk action in GetSession

* don't use the new context in handler schedule

* disable reproduction test

---------

Co-authored-by: Livio Spring <[email protected]>
2023-07-07 08:15:05 +00:00
ae31aa52e4 fix: 404 if asset object not found (#6149)
Co-authored-by: Livio Spring <[email protected]>
2023-07-07 09:34:50 +02:00
Max PeintnerandGitHub 2068384a0e docs(nextjs): yarn, remove redundant description (#5764)
* docs: yarn, remove redundant description

* remove pkce

* rm pkce from b2b demo
2023-07-07 07:05:36 +00:00
Elio BischofandGitHub 9b768003b7 feat: improve milestone format (#6150)
* feat: milestone format

* feat: push external domain

* cleanup

* Revert "remove prerelease"

This reverts commit 7417fdbeb3ba4ebd65584059a80bfdf34172841b.

* fix branch

* remove prerelease
2023-07-06 19:31:08 +02:00
a36818c222 feat: Apply OCI source label to Docker image (#6070)
chore: Apply OCI source label to Docker image

This patch adds the `org.opencontainers.image.source` label to
the Zitadel Docker image. This label is used by dependency update
tools like Dependabot and Renovate to look up release notes for
Docker image updates.

Co-authored-by: Elio Bischof <[email protected]>
2023-07-06 11:32:41 +00:00
Elio BischofandGitHub bb756482c7 feat: push telemetry (#6027)
* document analytics config

* rework configuration and docs

* describe HandleActiveInstances better

* describe active instances on quotas better

* only projected events are considered

* cleanup

* describe changes at runtime

* push milestones

* stop tracking events

* calculate and push 4 in 6 milestones

* reduce milestone pushed

* remove docs

* fix scheduled pseudo event projection

* push 5 in 6 milestones

* push 6 in 6 milestones

* ignore client ids

* fix text array contains

* push human readable milestone type

* statement unit tests

* improve dev and db performance

* organize imports

* cleanup

* organize imports

* test projection

* check rows.Err()

* test search query

* pass linting

* review

* test 4 milestones

* simplify milestone by instance ids query

* use type NamespacedCondition

* cleanup

* lint

* lint

* dont overwrite original error

* no opt-in in examples

* cleanup

* prerelease

* enable request headers

* make limit configurable

* review fixes

* only requeue special handlers secondly

* include integration tests

* Revert "include integration tests"

This reverts commit 96db9504ecdb4e73451f09554fd749cd7c27341f.

* pass reducers

* test handlers

* fix unit test

* feat: increment version

* lint

* remove prerelease

* fix integration tests
2023-07-06 08:38:13 +02:00