452 Commits

Author SHA1 Message Date
Stefan Benz
8d13f170e8
feat(api): new settings service (#5775)
* feat: add v2alpha policies service

* feat: add v2alpha policies service

* fix: rename of attributes and messages in v2alpha api

* fix: rename of attributes and messages in v2alpha api

* fix: linter corrections

* fix: review corrections

* fix: review corrections

* fix: review corrections

* fix: review corrections

* fix grpc

* refactor: rename to settings and more

* Apply suggestions from code review

Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>

* add service to docs and rename legal settings

* unit tests for converters

* go mod tidy

* ensure idp name and return list details

* fix: use correct resource owner for active idps

* change query to join

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
2023-05-11 09:23:40 +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
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
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
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
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 c89e90ae35ae924a3f706a0a7394f933910c2e65.

* 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
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
mffap
ebc140a234
docs(legal): merge rate limits (#5719)
* formatting title configuration

* merge policy and metrics

* raising limits, editorial

* Update docs/docs/legal/rate-limit-policy.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* Apply suggestions from code review

Co-authored-by: Elio Bischof <elio@zitadel.com>

---------

Co-authored-by: Elio Bischof <elio@zitadel.com>
2023-04-21 13:21:05 +00:00
mffap
a9d6e92873
docs(integrate): create automatic overviews, move brokering (#5721)
* overviews in sidebars

* move identity brokering to features

* fix links
2023-04-20 17:04:40 +02:00
Silvan
e083092605
docs(azure): update tenant id (#5720) 2023-04-20 10:55:19 +02:00
Livio Spring
4c482619da
fix: ensure minimal scope for azure ad (#5686)
* fix: ensure minimal scope for azure ad

* docs(idps): mention scopes which are always sent

---------

Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
2023-04-17 07:02:16 +00:00
Miguel Cabrerizo
d140f9373a
feat: Zitadel translated into Spanish (#5634)
* feat: spanish translation in progress

* feat: 85% of translated strings

* feat: spanish translation 95% done

* fix: fix some typos

* fix: add missing translations for recent commits

* Apply suggestions from code review

Co-authored-by: Livio Spring <livio.a@gmail.com>

---------

Co-authored-by: Elio Bischof <elio@zitadel.com>
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-04-14 15:53:19 +02:00
Elio Bischof
8745c87ded
docs: improve idp docs (#5677)
* docs: improve idp docs

* warn about clear text ldap
2023-04-13 17:11:51 +02:00
Fabi
d306e8219f
docs: identity provider docs (#5565)
* docs: add github identity provider

* docs: add github identity provider

* docs: add github identity provider

* docs: github identity provider

* docs: google provider

* docs: google provider

* docs: gitlab identity provider

* docs: gitlab identity provider

* docs: general information identity providers

* docs: general information identity providers

* docs: add ldap and openldap identity provider docs

* docs: azure ad

* docs: azure ad

* docs: rename attribute for azure ad

* Update docs/docs/guides/integrate/identity-providers/azure-ad.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* Update docs/docs/guides/integrate/identity-providers/azure-ad.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* Update docs/docs/guides/integrate/identity-providers/azure-ad.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* Update docs/docs/guides/integrate/identity-providers/azure-ad.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* Update docs/docs/guides/integrate/identity-providers/azure-ad.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* Update docs/docs/guides/integrate/identity-providers/azure-ad.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* Update docs/docs/guides/integrate/identity-providers/azure-ad.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* Update docs/docs/guides/integrate/identity-providers/azure-ad.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* Update docs/docs/guides/integrate/identity-providers/azure-ad.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* Update docs/docs/guides/integrate/identity-providers/azure-ad.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* Update docs/docs/guides/integrate/identity-providers/azure-ad.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* Update docs/docs/guides/integrate/identity-providers/azure-ad.md

Co-authored-by: Elio Bischof <elio@zitadel.com>

* docs: general config in one file

* docs: add ldap and openldap identity provider docs

* docs: general describtion add missing providers

* docs: typos and rewriting

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

Co-authored-by: Elio Bischof <elio@zitadel.com>

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

Co-authored-by: Elio Bischof <elio@zitadel.com>

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

Co-authored-by: Elio Bischof <elio@zitadel.com>

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

Co-authored-by: Elio Bischof <elio@zitadel.com>

* docs: add api idp docs

* docs: reuse idp content (#5656)

* docs: reuse idp content

* docs: generalize prefill action

* docs: eliminate prerequisites

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

Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>

* replace zitadel google login

* outdent optional action

---------

Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>

---------

Co-authored-by: Stefan Benz <stefan@caos.ch>
Co-authored-by: Elio Bischof <elio@zitadel.com>
2023-04-12 09:42:40 +02:00
Fabian Deifuß
080a44bbce
docs(azuread-oidc): allow personal accounts (#5540)
doc(azuread-oidc): allow personal accounts

Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>
2023-04-12 09:09:20 +02:00
mffap
ba74cd018d
docs(migrate): Generalize migration from zitadel (#5661)
* collapse sidebar

* generalize and simplify guide
2023-04-11 16:15:14 +00:00
Livio Spring
8bf36301ed
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
2023-04-11 15:07:32 +00:00
mffap
ef7c53a6dc
docs(migrate): Migrate to ZITADEL (#5625)
* docs(guide): migration process guide

* outline users

* intro

* wip

* wip

* wip - basics

* structure migrate

* importing users

* structure

* sidebar

* move technical considerations to intro

* update users

* update sidebar

* migrate from auth0

* Apply suggestions from code review

Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>

* remove mermaid

* add concepts

* replace bulk user

* add note on code snippets

---------

Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>
2023-04-11 09:24:02 +00:00
Silvan
d515e1a004
docs(actions): correct tokens in post authentication (#5600)
* docs(actions): correct tokens in post authentication

* docs(actions): correct context fields in complement token
2023-04-03 15:32:40 +00:00
Silvan
e688954308
feat: role claims for service user tokens (#5577)
tokens of service users can now contain role claims by requesting them through scopes
2023-04-03 14:26:51 +02:00
bitfactory-sem-denbroeder
4df15511b5
docs: Update aws-saml.md (#5570)
* Update aws-saml.md

Updated docs to reflect new paths

* Update aws-saml.md
2023-03-30 13:50:59 +00:00
Elio Bischof
887e2f474d
fix: use fixed active instances duration (#5567)
* fix: use fixed active instances duration

* fix active instances tests

* fix syntax error

* run pipeline

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-03-30 13:01:27 +02:00
Sebastian Büchler
9b30d6ad83
docs: Typo in SPA examples (#5569)
Update introduction.mdx
2023-03-29 18:28:03 +00:00
Elio Bischof
cccccd005c
feat: call webhooks at least once (#5454)
* feat: call webhooks at least once

* self review

* feat: improve notification observability

* feat: add notification tracing

* test(e2e): test at-least-once webhook delivery

* fix webhook notifications

* dedicated quota notifications handler

* fix linting

* fix e2e test

* wait less in e2e test

* fix: don't ignore failed events in handlers

* fix: don't ignore failed events in handlers

* faster requeues

* question

* fix retries

* fix retries

* retry

* don't instance ids query

* revert handler_projection

* statements can be nil

* cleanup

* make unit tests pass

* add comments

* add comments

* lint

* spool only active instances

* feat(config): handle inactive instances

* customizable HandleInactiveInstances

* call inactive instances quota webhooks

* test: handling with and w/o inactive instances

* omit retrying noop statements

* docs: describe projection options

* enable global handling of inactive instances

* self review

* requeue quota notifications every 5m

* remove caos_errors reference

* fix comment styles

* make handlers package flat

* fix linting

* fix repeating quota notifications

* test with more usage

* debug log channel init failures
2023-03-28 22:09:06 +00:00
Miguel Cabrerizo
1b9cea0e0c
feat: add Help/Support e-mail for instance/org (#5445)
feat: help and support email in privacy policy
2023-03-28 21:36:52 +02:00
Max Peintner
a14bfff0bb
docs: add refresh token section to angular guide (#5534)
docs: angular example changes
2023-03-27 15:53:22 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
mffap
6da27ef471
docs: links in readme and banner (#5390) 2023-03-07 15:31:05 +01:00
mffap
755e1d24e3
docs: fix broken links (#5387)
* docs: fix broken links

* emails
2023-03-07 14:31:31 +01:00
mffap
8d4d182c20
docs: proposal restructure (#5318)
* docs: docs structure

* docs: remove sdk from main nav

* docs: fix broken links

* docs: texts

* docs: texts

* docs: react example

* docs: proposal restructure

* remove manual, move troubleshooting

* revmove duplicate item

* identity providers

* broken links and rel paths

* examples wip

* examples

* navigation

* support

* solution scenarios

* concepts

* overview

* Actions caution to info

* suggestions from code review

* remove start command again

* proposed start command (with and without api)

* wip startpage

* startpage

* broken link integrate

* remove get started from nav

* Apply suggestions from code review

Co-authored-by: Elio Bischof <elio@zitadel.com>

---------

Co-authored-by: Fabienne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Florian Forster <florian@zitadel.com>
Co-authored-by: Elio Bischof <elio@zitadel.com>
2023-03-07 09:33:13 +02:00
mffap
b822175f07
docs: troubleshoot instance not found (#5378) 2023-03-06 14:19:16 +01:00