Commit Graph

2245 Commits

Author SHA1 Message Date
Elio Bischof
62bd606593
feat: enable handling projections for inactive instances (#5523)
* fix: don't ignore failed events in handlers

* question

* fix retries

* don't instance ids query

* statements can be nil

* make unit tests pass

* add comments

* spool only active instances

* feat(config): handle inactive instances

* customizable HandleInactiveInstances

* test: handling with and w/o inactive instances

* docs: describe projection options

* enable global handling of inactive instances

* accept NowFunc, not Clock interface

* add comment about stringer usage

* remove enum stringer implementations

* fix enum format types

* Update internal/eventstore/repository/mock/repository.mock.impl.go

Co-authored-by: Silvan <silvan.reusser@gmail.com>

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-03-27 12:34:01 +00:00
Stefan Benz
41ff0bbc63
feat: ldap provider login (#5448)
Add the logic to configure and use LDAP provider as an external IDP with a dedicated login GUI.
2023-03-24 15:18:56 +00:00
TG
a8bfcc166e
docs: Fix typo in ratelimits (#5531)
Update ratelimits.md

Fixed typo

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-24 14:18:34 +00:00
Fabi
4486bf8529
docs: typos in production checklist (#5155)
* docs: typos and consistent starts of checklist

* docs: typos and consistent starts of checklist

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

---------

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-24 15:10:03 +01:00
Miguel Cabrerizo
9b2bf3c2de
fix(console): shortcut arrangement start page (#5161)
feat: shortcut arrangement start page

Co-authored-by: Max Peintner <max@caos.ch>
2023-03-24 14:46:47 +01:00
Mauro Küpfer
6567d81060
docs: fix port number in nextjs tutorial (#5533)
Co-authored-by: Mauro Kuepfer <mauro.kuepfer@leuchterag.ch>
2023-03-24 08:55:52 +00:00
Fabi
cf1ac30970
fix: remove unnecessary cancel button as cancel is not possible (#5511)
* fix: remove unnecessary cancel button as cancel is not possible

* fix: add missing tranlation

* fix: add missing tranlation

* docs: missing translations

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-03-24 08:00:56 +00:00
Livio Spring
1cf84b5a56
fix: map metadata correctly in actions (#5526) 2023-03-23 14:28:53 +01:00
Miguel Cabrerizo
b0ae24ccca
fix: project list 1st row show thin gray line (#5339)
Co-authored-by: Florian Forster <florian@zitadel.com>
Co-authored-by: Max Peintner <max@caos.ch>
2023-03-23 12:19:24 +00:00
Livio Spring
fca6dd9613
fix: reduce correct type for jwt idps (#5519) 2023-03-22 15:46:59 +00:00
Max Peintner
e9df06df38
fix(console): initialize provider options (#5520)
fix: provider options initializer
2023-03-22 08:53:07 +00:00
mffap
9257cf7086
docs(playground): save to clipboard (#5488)
* docs(playground): permanent link

* add scope urn:zitadel:iam:org:project:roles

* remove window

* remove copy

* move to top right of card, fresh lockfile

* remove scope

* copy to clipboard

* browser only

* cleanup

* try with plausible css

* remove plausible plugin

* remove plausible window

* fix plausible in preview

* plausible script

---------

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-22 07:19:19 +00:00
tharuta
a8fe15829e
feat: internationalization Japanese (recreated) (#5513)
japanese translation

---------

Co-authored-by: Max Peintner <max@caos.ch>
2023-03-22 07:30:46 +01:00
Max Peintner
9b41758af0
fix(console): delete provider, refactor add and update methods (#5515)
fix: provider deletion
2023-03-21 17:48:35 +01:00
Livio Spring
a6c471b2e4
fix: possible nil pointer in actions (#5510) 2023-03-21 11:19:49 +01:00
Livio Spring
4ca50e0802
fix: check for empty applicationID on assertRoles (#5509)
* fix: check for empty applicationID on assertRoles

* remove unintended added file
2023-03-21 08:59:44 +01:00
mffap
4baa503fcc
docs(metrics): fix typos (#5504)
* docs(metrics): fix typos

* tone
2023-03-20 12:44:04 +01:00
Max Peintner
63c3d05ffd
docs: fix urls on homepage (#5501)
fix: add urls on homepage
2023-03-20 09:11:15 +01:00
Silvan
a3b36a0138
refactor(changes): use queries.SearchEvents (#5388)
* refactor(changes): use `queries.SearchEvents`

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-03-17 09:14:06 +00:00
Elio Bischof
09abf06d4d
refactor: rename config structs (#5459) 2023-03-16 17:24:30 +00:00
Livio Spring
1896f13952
fix: use idToken for mapping when using old configs (#5458)
* fix: use idToken for mapping when using old configs

* fix events and add tests
2023-03-16 16:47:22 +01:00
Livio Spring
a8a2edadc2
fix: use correct resource owner in checkExternalUserLogin (#5457) 2023-03-16 13:14:08 +00:00
mffap
52dc8431ab
docs: update security policies (#5452)
* docs(legal): vulnerability disclosure policy

* update security.md

* exception

* add link to sidebar

* Apply suggestions from code review

Co-authored-by: Florian Forster <florian@zitadel.com>

* use main for release channel

* review

* fallback emails

* typos, wording

---------

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-16 08:52:12 +01:00
Max Peintner
f0e0191c7b
refactor(console): common idp provider styles (#5450)
common idp provider styles
2023-03-16 06:53:46 +00:00
SwitchUpCB
7c79120443
docs: update configure.mdx (#5419)
* docs: update configure.mdx

fix spelling
stylistic improvements
code block consistency

* add additional changes

natural phrases

* address suggestion r1132148559

improve clarity

---------

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-15 21:36:00 +00:00
Elio Bischof
fecd197bf2
fix: open dialogs (#5451) 2023-03-15 14:40:35 +00:00
Max Peintner
bc116247ea
feat(console): azure ad provider (#5440)
azure ad provider for console
2023-03-15 13:53:50 +01:00
mffap
a7f65ccb35
docs(legal): support services editorial changes (#5447) 2023-03-15 10:39:40 +02:00
Max Peintner
636ebc07a9
docs: nextjs example changes (#5438)
updates nextjs example docs
2023-03-15 09:10:46 +01:00
Max Peintner
0d832ef67f
feat(console): gitlab, gitlab self hosted - templates (#5422)
gitlab provider
2023-03-15 07:49:32 +00:00
mffap
0aaaf209be
docs(manage): update instance settings (#5421)
* docs(manage): update instance settings

* password reset

* disable email

* phone number

* Apply suggestions from code review

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>

---------

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2023-03-15 07:09:07 +00:00
Livio Spring
5a307afe62
feat: add azure provider templates (#5441)
Adds possibility to manage and use Microsoft Azure template based providers
2023-03-15 07:48:37 +01:00
Elio Bischof
93e1fe0056
fix(console): better error messages (#5409)
* fix(console): better error messages

* fix: fix i18n error labels

* rollout cnsl-i18n-errors

* move errors to form-field

* fix: form control errors

* rollout validators

* translate

* replace variables

* lint

* self review

* fix confirm validation

* use help observable

* fix validation errors

* cleanup

* custom validator for idp templates

* lint

* validate on blur

* remove element

---------

Co-authored-by: Max Peintner <max@caos.ch>
2023-03-14 21:29:45 +00:00
Elio Bischof
e00cc187fa
fix: make user creation errors helpful (#5382)
* fix: make user creation errors helpful

* fix linting and unit testing errors

* fix linting

* make zitadel config reusable

* fix human validations

* translate ssr errors

* make zitadel config reusable

* cover more translations for ssr

* handle email validation message centrally

* fix unit tests

* fix linting

* align signatures

* use more precise wording

* handle phone validation message centrally

* fix: return specific profile errors

* docs: edit comments

* fix unit tests

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-03-14 19:20:38 +00:00
Silvan
9ff810eb92
fix(roles): remove org.create permission from org owner (#5444)
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-03-14 16:48:39 +00:00
Stefan Benz
f99cf50f69
fix: add authURLParams to urls for external idps (#5404)
add authURL parameters to urls for external IDPs, depended on the contents of the authRequest

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-03-14 15:42:29 +00:00
Max Peintner
1f302fce96
chore(console): dependencies (#5435)
deps
2023-03-14 14:44:02 +01:00
Max Peintner
77595cd723
feat(console): Github Enterprise Server (#5410)
github enterprise server console template
2023-03-13 18:59:11 +01:00
Livio Spring
c0843e6b4c
feat: add gitlab provider templates (#5405)
* feat(api): add google provider template

* refactor reduce functions

* handle removed event

* linting

* fix projection

* feat(api): add generic oauth provider template

* feat(api): add github provider templates

* feat(api): add github provider templates

* fixes

* proto comment

* fix filtering

* requested changes

* feat(api): add generic oauth provider template

* remove wrongly committed message

* increase budget for angular build

* fix linting

* fixes

* fix merge

* fix merge

* fix projection

* fix merge

* updates from previous PRs

* enable github providers in login

* fix merge

* fix test and add github styling in login

* cleanup

* feat(api): add gitlab provider templates

* fix: merge

* fix display of providers in login

* implement gitlab in login and make prompt `select_account` optional since gitlab can't handle it

* fix merge

* fix merge and add tests for command side

* requested changes

* requested changes

* Update internal/query/idp_template.go

Co-authored-by: Silvan <silvan.reusser@gmail.com>

* fix merge

* requested changes

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-03-13 17:34:29 +01:00
Max Peintner
f55877eb70
feat(console): GitHub identity provider template (#5403)
Github idp template for console
2023-03-13 10:01:09 +00:00
Silvan
eb4f7c5d7c
fix(auth): update user grants before check (#5406) 2023-03-13 08:03:49 +01:00
Max Peintner
0c704966a2
feat(console): OAuth provider template (#5377)
implements oauth template for console
Co-authored-by: Elio Bischof <elio@zitadel.com>
2023-03-10 15:28:18 +00:00
Livio Spring
1ec6c451ca
chore: update stable to 2.19.4 (#5269)
* chore: update stable to 2.19.3

* 2.19.4
2023-03-10 15:31:10 +01:00
Dakshitha Ratnayake
5c8caf882b
docs: update introduction.md (#5408)
* Update introduction.md

* Update docs/docs/guides/integrate/identity-providers/introduction.md

Co-authored-by: mffap <mpa@zitadel.com>

---------

Co-authored-by: mffap <mpa@zitadel.com>
2023-03-09 18:22:04 +05:30
Livio Spring
26fdc3e84e
fix(api): return id_attribute of oauth provider (#5397) 2023-03-09 06:13:43 +00:00
Miguel Cabrerizo
0d82fc07c9
fix: change initial state banner and button texts (#5392)
* fix: change initial state banner and button texts

* fix: add consistent terminology active/activation

---------

Co-authored-by: Max Peintner <max@caos.ch>
2023-03-08 23:53:36 +01:00
redbar0n
e117e29944
docs: Fix broken link in endpoints.mdx (#5178)
Doc: Fix broken link in endpoints.mdx

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-08 20:29:08 +00:00
Livio Spring
8cbde57047
fix(api): allow HTTP/1.1 for grpc-web (#5376)
Handles grpc-web on HTTP/1.1 with H2C for HTTP/2, but does not enforce it.
2023-03-08 18:33:43 +00:00
Silvan
c8f206c438
fix(setup): check if indexes exist in step 9 (#5400)
* fix(setup): check if indexes exist in step 9

* fix(setup09): ignore the inverted index
2023-03-08 15:19:12 +00:00
Silvan
20e4f1ce57
feat(actions): add fields to complement token flow (#5336)
* deprecated `ctx.v1.userinfo`-field in "pre userinfo creation" trigger in favour of `ctx.v1.claims`. The trigger now behaves the same as "pre access token creation"
* added `ctx.v1.claims` to "complement tokens" flow
* added `ctx.v1.grants` to "complement tokens" flow
* document `ctx.v1.getUser()` in "complement tokens" flow

* feat(actions): add getUser() and grant

* map user grants

* map claims

* feat(actions): claims in complement token ctx

* docs(actions): add new fields of complement token

* docs(actions): additions to complement token

* docs(actions): correct field names
2023-03-08 15:26:28 +01:00