Commit Graph

287 Commits

Author SHA1 Message Date
Livio Spring
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 <38692350+hifabienne@users.noreply.github.com>
2022-09-23 12:08:10 +00:00
Stefan Benz
2c1f9ac4a8
feat(org): add org metadata functionality (#4234)
* feat(org): add org metadata functionality

* fix(metadata): add unit tests and review for org metadata

* fix(org-metadata): move endpoints to /

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-09-20 14:32:09 +00:00
Livio Spring
8505eb4cc9
docs(oidc): clarify project roles scope and claim (#4411) 2022-09-19 14:17:48 +02:00
mffap
ef87a53dfc
docs(concepts): add self-service to features (#4372)
* docs(concepts): add self-service to features

* outline

* wip

* login

* wip

* account linking

* managers

* intro

* Apply suggestions from code review

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

* Autolinking and autoregister

Co-authored-by: Florian Forster <florian@zitadel.com>
2022-09-16 00:23:38 +02:00
Stefan Benz
d8a834f364
docs(nginx): change example for webauthn (#4382)
Co-authored-by: Florian Forster <florian@zitadel.com>
2022-09-15 17:38:17 +02:00
Florian Forster
c14c66820f
docs: update docusaurus, add metrics endpoint, add zero downtime update (#4376)
* chore: update docusuarus to 2.1.0

* docs: metrics endpoint docs

* docs: zero downtime updates

* Update docs/docs/concepts/architecture/solution.md

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

* Update docs/docs/concepts/architecture/solution.md

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

* Update docs/docs/concepts/architecture/solution.md

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

* docs: add health / ready

* Update docs/docs/apis/observability/health.md

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

Co-authored-by: mffap <mpa@zitadel.com>
2022-09-15 16:36:02 +02:00
Stefan Benz
7191344817
docs(terraform): add basic terraform documentation (#4328)
* docs(terraform): add basic terraform documentation

* docs(terraform): fix broken links on terraform guide

* docs(terraform): add changes from review

* lint

Co-authored-by: mffap <mpa@zitadel.com>
Co-authored-by: Florian Forster <florian@zitadel.com>
2022-09-15 09:54:28 +00:00
Stefan Benz
7a5f7f82cf
feat(saml): implementation of saml for ZITADEL v2 (#3618) 2022-09-12 18:18:08 +02:00
Elio Bischof
a86be64580
docs: list path prefixes (#4339)
* docs: list path prefixes

* add version numbers

* the list

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-09-09 11:24:55 +02:00
George
8ab85afd15
feat: internationalization Chinese (#4222)
* feat: internationalization chinese

* typo: optimize the semantic expression of copywriting

* Update internal/api/ui/login/static/i18n/zh.yaml

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

* Update console/src/assets/i18n/it.json

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

* Update console/src/assets/i18n/en.json

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

* Update console/src/assets/i18n/zh.json

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

* Update internal/api/ui/login/static/i18n/zh.yaml

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

* Update console/src/assets/i18n/it.json

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

* Update console/src/assets/i18n/it.json

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

* Update console/src/assets/i18n/fr.json

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

* Update console/src/assets/i18n/en.json

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

* Update console/src/assets/i18n/en.json

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

* Update console/src/assets/i18n/fr.json

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

* Update console/src/assets/i18n/fr.json

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

* minor: add Chinese to other language file

* Update console/src/app/app.module.ts

Co-authored-by: Max Peintner <max@caos.ch>

* Update console/src/app/app.module.ts

Co-authored-by: Max Peintner <max@caos.ch>

Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
2022-09-08 15:15:31 +02:00
Livio Spring
aa4df33b62
docs(oidc): use correct audience (issuer) for JWT Profile (#4336) 2022-09-07 15:27:29 +02:00
Silvan
8a5c3b0fa1
fix: postgreSQL version spec (#4301)
* fix(cli): log error in `init zitadel`

* docs: specify postgres version

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-09-05 09:24:31 +00:00
KaKi87
b79670ea96
docs: fix links to steps.yaml (#4289)
Fix links to steps.yaml
2022-09-01 08:37:07 +02:00
Silvan
b9795b5c57
fix(amr): add pwd because password is wrong (#4284)
* fix(amr): add pwd because password is wrong

* docs: deprecation notice

* docs: nicer wording

* Update docs/docs/apis/openidoauth/claims.md

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

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-08-31 08:16:31 +00:00
Silvan
77b4fc5487
feat(database): support for postgres (#3998)
* beginning with postgres statements

* try pgx

* use pgx

* database

* init works for postgres

* arrays working

* init for cockroach

* init

* start tests

* tests

* TESTS

* ch

* ch

* chore: use go 1.18

* read stmts

* fix typo

* tests

* connection string

* add missing error handler

* cleanup

* start all apis

* go mod tidy

* old update

* switch back to minute

* on conflict

* replace string slice with `database.StringArray` in db models

* fix tests and start

* update go version in dockerfile

* setup go

* clean up

* remove notification migration

* update

* docs: add deploy guide for postgres

* fix: revert sonyflake

* use `database.StringArray` for daos

* use `database.StringArray` every where

* new tables

* index naming,
metadata primary key,
project grant role key type

* docs(postgres): change to beta

* chore: correct compose

* fix(defaults): add empty postgres config

* refactor: remove unused code

* docs: add postgres to self hosted

* fix broken link

* so?

* change title

* add mdx to link

* fix stmt

* update goreleaser in test-code

* docs: improve postgres example

* update more projections

* fix: add beta log for postgres

* revert index name change

* prerelease

* fix: add sequence to v1 "reduce paniced"

* log if nil

* add logging

* fix: log output

* fix(import): check if org exists and user

* refactor: imports

* fix(user): ignore malformed events

* refactor: method naming

* fix: test

* refactor: correct errors.Is call

* ci: don't build dev binaries on main

* fix(go releaser): update version to 1.11.0

* fix(user): projection should not break

* fix(user): handle error properly

* docs: correct config example

* Update .releaserc.js

* Update .releaserc.js

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: Elio Bischof <eliobischof@gmail.com>
2022-08-31 07:52:43 +00:00
Florian Forster
d6c9815945
docs(api): wrong swagger link (#4286) 2022-08-30 19:16:25 +00:00
Max Peintner
cbb5e90bac
feat(console): set email verified on org creation, disable svg upload, password page optimizations (#4149)
* feat: set email verified on org creation

* catch svg files and throw error

* password changes

* passwordpage

* rm log

* it

* fr

* localhost env

* Update fr.json

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-08-26 07:34:44 +00:00
mffap
79e7ab76b6
docs(api): link rate limit policy to rules (#4235)
Co-authored-by: Florian Forster <florian@zitadel.com>
2022-08-24 13:30:28 +00:00
Florian Forster
f2c603523b
chore: fix broken links with redirect (#4231) 2022-08-22 18:59:56 +02:00
Alloys Mila
d0733b3185
docs: fix minor typo (#4203) 2022-08-16 16:13:24 +02:00
Florian Forster
cd4c61a6bb
docs: fixing incomplete sentence and old aud scope (#4202)
* docs: fixing incomplete sentence and old aud scope

* Update docs/docs/examples/secure-api/go.md
2022-08-16 15:13:15 +02:00
Livio Spring
9c37f39d43
docs: better distinct JWT Profile grant and assertion (#4201)
docs: update JWT Profile grant
2022-08-16 14:49:37 +02:00
Elio Bischof
0c6b47a081
docs: update rate limiting docs (#4186)
* docs: update rate limiting docs

* reduce regexp mental overhead
2022-08-15 17:40:43 +02:00
mffap
33b8eecba4
chore(docs): update readme and docs for producthunt (#4168)
* readme

* wip

* zitadel.com

* remove pointer events none

Co-authored-by: Max Peintner <max@caos.ch>
2022-08-12 11:02:18 +02:00
Max Peintner
7c49f03d19
docs: welcome gigi (#4159)
* docs: welcome gigi

* light theme

* foreground

* banner on readme

Co-authored-by: mffap <mpa@zitadel.com>
Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-08-11 07:32:50 +00:00
mffap
670d107945
chore(docs): add link to v1 docs (#4155)
Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-08-10 11:49:39 +00:00
mffap
7ff419779a
docs(trainings): onboarding project (#4128)
* init

* Apply suggestions from Florian

Co-authored-by: Florian Forster <florian@caos.ch>

Co-authored-by: Florian Forster <florian@caos.ch>
2022-08-09 13:38:49 +02:00
Livio Spring
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
Christian Jakob
1b5c8677ab
docs: normalised versions and explained releases (#4119)
* docs: normalised versions and explained releases

* added downoad links

* fix: corrected tar flag for linux

Co-authored-by: Florian Forster <florian@caos.ch>
2022-08-08 14:04:46 +00:00
Florian Forster
d6cb1e521d
docs: general fixes to links who where broken and some lint and typos (#4144) 2022-08-08 16:02:47 +02:00
Livio Spring
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
Stefan Benz
46e5c0da97
docs(import): correct formatting of json examples for export and import (#4142)
Co-authored-by: Florian Forster <florian@caos.ch>
2022-08-08 14:33:56 +02:00
Florian Forster
8f999e5806
docs(import/export): improve and fix heading (#4138) 2022-08-08 14:02:24 +02:00
Stefan Benz
a7d63271bd
docs: correct import and export documentation (#4137) 2022-08-08 12:02:15 +02:00
Florian Forster
4e7f0eaec9
docs: create secrets concepts and update docusaurus to stable release (#4111)
* chore: update docusaurus to v2

* extend concepts for secrets handling

* fix links

* add credentials

* docs review with @livio-a

* remove change

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-08-04 14:08:24 +00:00
Florian Forster
ef4d4cadfd
docs(azuread): guide to use azuread as IdP for ZITADEL (#4101) 2022-08-03 08:18:06 +00:00
Fabi
b4d948cc75
docs: remove work in progress from token exchange (#4099)
* docs: remove work in progress from token exchange

* docs: broken links

* docs: broken links
2022-08-03 09:11:27 +02:00
Florian Forster
e3746624da
docs(architecture): extend the software and deployment architecture (#4081)
* docs: eventstore wordings

* docs: software and deployment architecture

* docs: typos and links

* fix toc

* 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>
2022-08-03 06:06:46 +00:00
mffap
558820f271
chore(docs): update links to status page (#4100)
* remove status from footer

* update status link

* status to zitadel.com
2022-08-02 20:21:57 +02:00
Florian Forster
9326061f1a
docs: fix broken links and typos (#4085)
* docs: fix broken links

* some language fixes

Co-authored-by: Elio Bischof <eliobischof@gmail.com>
2022-08-02 13:30:11 +02:00
Elio Bischof
80eca531e9
docs(installation): fix helm command (#4079) 2022-07-29 18:36:11 +02:00
Livio Spring
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
Florian Forster
25baeb05ff
docs: fix kubectl command (#4078) 2022-07-29 17:19:17 +02:00
Livio Spring
6e6f5d5f17
docs: fix broken links in examples overview (#4074) 2022-07-29 14:12:52 +02:00
Fabi
9ed972f308
docs: fix broken links on startpage (#4073)
Co-authored-by: Florian Forster <florian@caos.ch>
2022-07-29 09:08:38 +00:00
Florian Forster
3c3bce1a6b
docs: improve documentation for v2 release (#4046)
* WIP: docs(proxy): describe proxy settings

* fix nginx

* refactor (docs): deploy and operate sections

* chore: ignore package-lock since we use yarn

* chore: update to rc1

* chore: broken links

* chore: update yarn

* docs: move disclaimer to bottom

* chore: fix broken links

* Update docs/docs/guides/operate/tls_modes.mdx

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

* test caddy files

* syntax highlight

* traefik example

* refactor: docs

* refactor

* working state

* got a working state

* remove bar

* mark rate limits for update

* remove zitadel.ch

* fix cases

* docs: zitadel quickstart

* docs: zitadel quickstart

* docs: create app and project

* docs: move customer portal docs to guides manage cloud

* docs: move customer portal docs to guides manage cloud

* docs: move customer portal docs to guides manage cloud

* docs: add help me choose in the quickstart

* docs: broken links

* fix broken links

* Update knative guide

* styling

* docs: support customer portal

* update to main instead v2-alpha

* use version 2 tag

* docs: images

* docs: move authentication and authorization guides to integrate

* docs: quickstart use examples

* docs: lb example

* fix broken link

* docs: update userinfo endpoints

* docs: update userinfo endpoints

* fix oidc endpoint

* docs: remove unused endpoints in app.module

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
Co-authored-by: Fabienne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-07-29 10:13:45 +02:00
Stefan Benz
bc9a85daf3
feat: V2 alpha import and export of organizations (#3798)
* feat(import): add functionality to import data into an instance

* feat(import): move import to admin api and additional checks for nil pointer

* fix(export): export implementation with filtered members and grants

* fix: export and import implementation

* fix: add possibility to export hashed passwords with the user

* fix(import): import with structure of v1 and v2

* docs: add v1 proto

* fix(import): check im imported user is already existing

* fix(import): add otp import function

* fix(import): add external idps, domains, custom text and messages

* fix(import): correct usage of default values from login policy

* fix(export): fix renaming of add project function

* fix(import): move checks for unit tests

* expect filter

* fix(import): move checks for unit tests

* fix(import): move checks for unit tests

* fix(import): produce prerelease from branch

* fix(import): correctly use provided user id for machine user imports

* fix(import): corrected otp import and added guide for export and import

* fix: import verified and primary domains

* fix(import): add reading from gcs, s3 and localfile with tracing

* fix(import): gcs and s3, file size correction and error logging

* Delete docker-compose.yml

* fix(import): progress logging and count of resources

* fix(import): progress logging and count of resources

* log subscription

* fix(import): incorporate review

* fix(import): incorporate review

* docs: add suggestion for import

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

* fix(import): add verification otp event and handling of deleted but existing users

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: Fabienne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-07-28 13:42:35 +00:00
Livio Spring
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
Silvan
0b742233f9
fix: clarify instances in steps and config (#4003)
* fix: clarify instances in steps and config

* docs: update setup step

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-07-27 10:22:20 +02:00
Livio Spring
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 <38692350+hifabienne@users.noreply.github.com>

* Update internal/query/user_membership.go

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

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-07-27 07:55:44 +00:00