3102 Commits

Author SHA1 Message Date
Max Peintner
06c5f2a731
docs: use latest image instead of stable in docker-compose.yml (#4876)
docs: use latest image for compose
2022-12-14 11:10:18 +01:00
Livio Spring
632639ae7f
feat: enable iframe use (#4766)
* feat: enable iframe use

* cleanup

* fix mocks

* fix linting

* docs: add iframe usage to solution scenarios configurations

* improve api

* feat(console): security policy

* description

* remove unnecessary line

* disable input button and urls when not enabled

* add image to docs

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-12-14 07:17:36 +01:00
Livio Spring
33e973f015
fix: ensure domain policy is read for the correct org (#4872) 2022-12-13 06:37:50 +00:00
Christian Jakob
e4531291f5
docs: Correct knative yaml (#4874)
corrected number to string
2022-12-12 14:29:33 +00:00
Christian Jakob
34b2c2e9e8
docs: add installation videos (#4858)
* docs: fix h2c link

* Update http2.mdx

* testing youtube and knative

* docs: video guides for installation

* docs: switched to iframe

* Update docs/docs/guides/deploy/compose.mdx

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/guides/deploy/knative.mdx

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/guides/deploy/macos.mdx

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/guides/deploy/linux.mdx

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

Co-authored-by: Elio Bischof <eliobischof@gmail.com>
2022-12-12 13:26:52 +01:00
Max Peintner
bd1231c2a2
feat(console): add some well known links in app detail, add refresh token grant type in dev mode creation (#4826)
* fix(console): add some well known links

* [servicename]/v1

* add refresh token grant type to devmode creation
2022-12-12 10:40:22 +01:00
Stefan Benz
47ffa52f0f
feat: Instance create (#4502)
* feat(instance): implement create instance with direct machine user and credentials

* fix: deprecated add endpoint and variable declaration

* fix(instance): update logic for pats and machinekeys

* fix(instance): unit test corrections and additional unit test for pats and machinekeys

* fix(instance-create): include review changes

* fix(instance-create): linter fixes

* move iframe usage to solution scenarios configurations

* Revert "move iframe usage to solution scenarios configurations"

This reverts commit 9db31f3808e6dfcae9907bc574c072436a19865a.

* fix merge

* fix: add review suggestions

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

* fix: add review changes

* fix: add review changes for default definitions

* fix: add review changes for machinekey details

* fix: add machinekey output when setup with machineuser

* fix: add changes from review

* fix instance converter for machine and allow overwriting of further machine fields

Co-authored-by: Livio Spring <livio.a@gmail.com>
v2.15.0
2022-12-09 14:04:33 +01:00
Livio Spring
c5ebeea590
fix: compute usernames in auth views correctly after domain policy change (#4860)
* fix: compute usernames in auth views correctly after domain policy change

* userloginmustbedomain hint

Co-authored-by: Max Peintner <max@caos.ch>
v2.14.5
2022-12-09 12:10:20 +00:00
Christian Jakob
33b213ffce
docs: fix h2c link (#4846)
* docs: fix h2c link

* Update http2.mdx

Co-authored-by: Elio Bischof <eliobischof@gmail.com>
2022-12-09 08:19:30 +00:00
Silvan
fabecca4e4
fix(database): add MaxIdleConns configuration (#4856) v2.14.4 2022-12-08 15:22:39 +00:00
Livio Spring
48f535afa1
fix: remove domain and user correctly in DomainPolicyUsernamesWriteModel (#4850)
fix: remove Domain and User correctly in DomainPolicyUsernamesWriteModel
v2.14.3
2022-12-08 08:11:49 +01:00
Stefan Benz
a3f15d8213
fix: corrected statement to when an init code has to be sent (#4817)
* fix: corrected statement to when an init code has to be sent

* fix: corrected statement to when an init code has to be sent

* fix: corrected statement to when an init code has to be sent

* fix: add init code to user handle for auth.users2

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-12-07 11:16:01 +00:00
Stefan Benz
2209187a48
docs(import): correct import example from v1 with timeout (#4731)
Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-12-07 10:53:08 +00:00
Florian Forster
5c6971a6a4
chore: replace docs links (#4843)
* chore: replace docs links

* Update index.js

* prettier
2022-12-06 23:09:50 +00:00
Florian Forster
a1dfe02cf2
chore(docs): remove analytics proxy from preview (#4842)
* chore(docs): analytics proxy fix

* Update netlify.toml
2022-12-06 22:48:09 +01:00
Florian Forster
065250a108
chore(docs): fix links for domain migration (#4831)
* chore(docs): fix links for domain migration

* try trailing slash for netlify

* trial

* fix typo

* test path

* try preview proxied

* test local proxy

* try to define the domain with redirect to /docs

* remove build commands

* debug netlify router and fix image link

* working config

* fix analytics
2022-12-06 20:33:13 +01:00
Livio Spring
3539418a4a
fix: handle UserLoginMustBeDomain changes correctly (#4765)
* fix: handle UserLoginMustBeDomain changes correctly

* fix: remove verified domains (and not only primary) as suffix

* fix: ensure testability by changing map to slice

* cleanup

* reduce complexity of DomainPolicyUsernamesWriteModel.Reduce()

* add test for removed org policy
2022-12-06 09:01:31 +01:00
Max Peintner
97fe041a86
docs: add tailwindcss for styles, oidc authorize endpoint playground (#4707)
* variable parser

* rm plugin

* set fcn

* env

* EnvCode component

* cleanup env demo

* env

* rm remark plugin

* auth request context

* auth req component

* authorize endpoint construction

* rev react page

* fix endpoint

* styling

* query params with anchor

* desc

* tailwind coexistence

* fix styles

* add login_hint, organizationId scope

* auth request without prompt

* show login_hint

* sync displayed url with actual href

* fix fcn

* coloring

* Update docs/src/components/authrequest.jsx

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

* Update docs/src/components/authrequest.jsx

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

* Update docs/src/components/authrequest.jsx

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

* Update docs/src/components/authrequest.jsx

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

* Update docs/src/components/authrequest.jsx

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

* Update docs/src/components/authrequest.jsx

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

* add plausible, header

* add pkce

* move

* adds pkce code challenge

* replace cboa

* reaname and move to required

* fall back to cboa due to webpack error

* trailing slash

* reorder org_id

* remove resourceowner

* texts

* update references

* buffer, fix some react dom components

* Apply suggestions from code review

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

* standard scopes

Co-authored-by: mffap <mpa@zitadel.com>
Co-authored-by: Florian Forster <florian@zitadel.com>
2022-12-05 18:36:12 +01:00
Stefan Benz
add232d1dd
fix: correct where statement for AppByOIDCClientID (#4815)
Co-authored-by: Silvan <silvan.reusser@gmail.com>
v2.14.2
2022-12-02 13:15:09 +00:00
Silvan
e7137dba60
fix(projection): new version of oidc_settings (#4811)
There was a field delete some commits back but the projection version was not updated, that's why we update now
2022-12-02 12:54:28 +00:00
Christoph Daniel Miksche
0175076dfc
fix(database): create column only if not exists (#4812)
The statements caused an error for me because the columns were already existing.
2022-12-02 10:48:39 +00:00
Silvan
384cc34303
chore: cockroach version (#4775)
* chore: cockroach version for tests
2022-12-02 09:42:27 +00:00
Max Peintner
9c146640b3
fix(console): fix login text ref (#4806) 2022-12-01 15:59:16 +00:00
mffap
cf4780fe6b
docs(legal): adds representative in the eu (#4799)
* adds representative in the eu

* date

Co-authored-by: Florian Forster <florian@zitadel.com>
v2.14.1
2022-12-01 14:36:41 +01:00
Silvan
62b7352a29
fix(setup): create indexes only if not exists (#4801) 2022-12-01 14:31:01 +01:00
Stefan Benz
9626897834
fix(logintexts): fix several custom text attributes for get and set (#4733)
* fix(logintexts): fix several custom text attributes for get and set

* fix(logintexts): fix externalUserNotFound attribute for json unmarshalling and reduce for customTexts

* fix: correct imports for linting
v2.14.0
2022-12-01 13:31:46 +01:00
Max Peintner
9fbd1034c2
docs(NextJS): use auth method basic for guides (#4802)
* docs: nextjs using code with auth method basic

* Update docs/docs/examples/login/nextjs-b2b.md

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

Co-authored-by: Florian Forster <florian@zitadel.com>
2022-12-01 11:25:17 +01:00
Silvan
28760ab4b3
fix(query): add tracing for each method (#4777)
* fix(query): add tracing for each method
2022-12-01 09:18:53 +01:00
Christoph Daniel Miksche
069b3570f5
fix(database): create index only if not exists (#4798)
The statements caused an error for me because the indexes were already existing.

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2022-12-01 07:25:14 +00:00
Fabi
8fa0e3843b
docs: Update BUG_REPORT.yaml (#4793)
Update BUG_REPORT.yaml
2022-11-30 18:46:50 +00:00
Silvan
f3e6f3b23b
feat: remove org (#4148)
* feat(command): remove org

* refactor: imports, unused code, error handling

* reduce org removed in action

* add org deletion to projections

* add org removal to projections

* add org removal to projections

* org removed projection

* lint import

* projections

* fix: table names in tests

* fix: table names in tests

* logging

* add org state

* fix(domain): add Owner removed to object details

* feat(ListQuery): add with owner removed

* fix(org-delete): add bool to functions to select with owner removed

* fix(org-delete): add bools to user grants with events to determine if dependencies lost owner

* fix(org-delete): add unit tests for owner removed and org removed events

* fix(org-delete): add handling of org remove for grants and members

* fix(org-delete): correction of unit tests for owner removed

* fix(org-delete): update projections, unit tests and get functions

* fix(org-delete): add change date to authnkeys and owner removed to org metadata

* fix(org-delete): include owner removed for login names

* fix(org-delete): some column fixes in projections and build for queries with owner removed

* indexes

* fix(org-delete): include review changes

* fix(org-delete): change user projection name after merge

* fix(org-delete): include review changes for project grant where no project owner is necessary

* fix(org-delete): include auth and adminapi tables with owner removed information

* fix(org-delete): cleanup username and orgdomain uniqueconstraints when org is removed

* fix(org-delete): add permissions for org.remove

* remove unnecessary unique constraints

* fix column order in primary keys

* fix(org-delete): include review changes

* fix(org-delete): add owner removed indexes and chang setup step to create tables

* fix(org-delete): move PK order of instance_id and change added user_grant from review

* fix(org-delete): no params for prepareUserQuery

* change to step 6

* merge main

* fix(org-delete): OldUserName rename to private

* fix linting

* cleanup

* fix: remove org test

* create prerelease

* chore: delete org-delete as prerelease

Co-authored-by: Stefan Benz <stefan@caos.ch>
Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
Co-authored-by: Stefan Benz <46600784+stebenz@users.noreply.github.com>
2022-11-30 17:01:17 +01:00
Fabi
21a4e73bb6
docs: revert change on bug report template (#4792) 2022-11-30 14:34:45 +00:00
Fabi
2915303f91
docs: revert change on bug report template (#4790) 2022-11-30 14:00:31 +00:00
Fabi
f4437ed797
docs: revert change on bug report template (#4785)
* docs: revert change on bug report template

* docs: revert change on bug report template
2022-11-30 13:13:54 +00:00
Hanrea
79d1c06515
fix: Update missing key of Chinese translation (#4769)
Update missing key of Chinese translation

Update missing key of Chinese translation,
2022-11-28 16:20:11 +01:00
Silvan
5a1f4c387c
docs(action): specify docs (#4709)
* docs: add actions section

* docs(actions): add modules

* docs: actions

* docs(actions): start with register flows

* add calls

* docs: all actions documented

* docs(actions): unify

* docs(actions): unify texts

* docs: apply suggestions from code review

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

* docs(actions): clarifications

* docs: return values italic

* docs: fix broken links

* docs: fix broken links

* docs: fix broken links

* docs: fix broken links

* Update docs/docs/apis/actions/introduction.md

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

* docs(actions): link actions examples

* docs: remove unused section

Co-authored-by: mffap <mpa@zitadel.com>
Co-authored-by: Florian Forster <florian@zitadel.com>
2022-11-28 09:20:33 +01:00
mffap
789faa8ce8
docs: update images concept orgs (#4763)
docs: update images
2022-11-24 14:01:07 +01:00
Max Peintner
268db1d5ec
docs: update example links (#4752)
update example links
2022-11-24 10:23:31 +01:00
Livio Spring
062887269b
fix(login): check user state before ignoreUnknownUsernames setting (#4759)
Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
v2.13.1
2022-11-24 09:13:19 +00:00
Fabi
7e2666153e
docs: add error response to oidc possible errors (#4753) 2022-11-24 08:46:51 +00:00
Fabi
62c03bc65d
docs: Product management (#4715)
* docs: bug report form

* docs: issue label description

* Update .github/ISSUE_TEMPLATE/BUG_REPORT.yaml

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

* docs: passwordless registration

* docs: passwordless registration

* docs: add error response to oidc possible errors

Co-authored-by: Florian Forster <florian@zitadel.com>
2022-11-24 09:44:53 +01:00
Julien Tanay
d4809b0dc1
doc: Improve _defaultuser doc (#4750)
Improve defaultuser doc

Add example using an external domain

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-11-24 08:05:49 +00:00
Fabi
35832fdd80
docs: passwordless registration (#4743)
* docs: passwordless registration

* docs: passwordless registration
2022-11-24 08:54:00 +01:00
Elio Bischof
f4e2349440
docs(self-hosted): improve production checklist (#4748)
* docs(self-hosted): improve production checklist

* split cdn

* data management
2022-11-23 19:17:03 +00:00
Livio Spring
f86d057a92
fix: ensure setup steps are done in order and one at a time (#4749)
* fix: ensure setup steps are done in order and one at a time

* fix err handling
2022-11-23 15:31:59 +00:00
Elio Bischof
c64a29a0a0
docs(self-hosted): fix link to default steps.yaml (#4754) 2022-11-23 16:00:28 +01:00
Fabi
5de6a5a8c0
docs: Request to ZITADEL API with PAT (#4751)
* docs: Request to ZITADEL API with PAT

* docs: add error response to oidc possible errors

* Update docs/docs/guides/integrate/pat.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/guides/integrate/pat.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/guides/integrate/pat.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* docs: add error response to oidc possible errors

Co-authored-by: Elio Bischof <eliobischof@gmail.com>
2022-11-23 15:06:09 +01:00
Max Peintner
1b868b6a7f
docs: nextjs b2b example, plausible outbound links script (#4738)
* b2b example, link from b2b solution scenario, cleanup nextjs doc

* b2b md

* repo link

* add plausible outbound events

* update examples link
2022-11-23 13:27:09 +00:00
Livio Spring
6a1a907874
fix: change index names to work with postgres (#4740) 2022-11-23 11:25:49 +00:00
Fabi
ff595697df
docs: scenario login with email (#4741)
* docs: issue label description

* fix img naming

Co-authored-by: Maximilian Panne <mpa@zitadel.com>
2022-11-23 09:44:19 +01:00