Livio Spring and GitHub
6e5e8d06b4
chore(stable): update to 2.44.7 ( #7770 )
2024-04-15 09:56:22 +02:00
Livio Spring and GitHub
dcfa2f7955
feat(idp): provide option to auto link user ( #7734 )
...
* init auto linking
* prompt handling
* working
* translations
* console
* fixes
* unify
* custom texts
* fix tests
* linting
* fix check of existing user
* fix bg translation
* set unspecified as default in the form
2024-04-10 15:46:30 +00:00
Livio Spring and GitHub
3711130d42
fix(idp): use persistent nameid-format in saml request ( #7745 )
2024-04-10 10:05:07 +00:00
Livio Spring and GitHub
a282ac09a1
feat: provide option to limit (T)OTP checks ( #7693 )
...
* feat: provide option to limit (T)OTP checks
* fix requests in console
* update errors pkg
* cleanup
* cleanup
* improve naming of existing config
2024-04-10 09:15:25 +00:00
Livio Spring and GitHub
153df2e12f
feat: provide option to limit (T)OTP checks ( #7693 )
...
* feat: provide option to limit (T)OTP checks
* fix requests in console
* update errors pkg
* cleanup
* cleanup
* improve naming of existing config
2024-04-10 09:14:55 +00:00
Livio Spring and GitHub
e3f10f7e23
fix: correctly check user by loginname ( #7740 )
2024-04-10 07:18:57 +00:00
Livio Spring and GitHub
2566f33aa2
docs(actions): describe user grant list ( #7687 )
2024-04-10 09:02:13 +02:00
Livio Spring and GitHub
5931fb8f28
chore: update stable to 2.43.11 ( #7705 )
2024-04-04 18:06:36 +00:00
Livio Spring and GitHub
29ad51b0e3
fix(oidc): correctly return new refresh token on refresh token grant ( #7707 )
...
* fix(oidc): correctly return new refresh token on refresh token grant
* fix import
2024-04-04 15:58:40 +00:00
f862e43ede
chore(workflow): run e2e on non standard runners ( #7698 )
...
Co-authored-by: Elio Bischof <[email protected] >
2024-04-03 22:15:00 +00:00
Livio Spring and GitHub
4c945f8bdc
chore(workflow): stop previous GH action pipeline on new changes and move back to public runners ( #7659 )
...
* chore(workflow): stop previous GH action pipeline on new changes
* skip previous code ql actions
* try running e2e on gh runner again
2024-03-28 07:15:03 +00:00
Livio Spring and GitHub
1e53aab4b4
fix: properly handle otp sms challenge notification in session api ( #7653 )
...
* fix: properly handle otp sms challenge notification in session api
* small fix
2024-03-27 19:48:14 +02:00
Livio Spring and GitHub
841e79357a
fix: detect mime type of uploaded asset ( #7648 )
2024-03-27 10:41:10 +01:00
Livio Spring and GitHub
1121ebfdb8
fix: prevent custom urn:zitadel:iam claims ( #7647 )
2024-03-27 08:26:14 +01:00
Livio Spring and GitHub
a83829b5ff
fix(API): remove deprecated organisation_id from user factor in session service ( #7631 )
2024-03-26 11:25:40 +00:00
Livio Spring and GitHub
30ff0dd1ed
chore: update stable to 2.42.16 ( #7629 )
2024-03-25 08:53:04 +00:00
Livio Spring and GitHub
2bcc42c4cd
chore(workflow): fix homebrew update ( #7630 )
2024-03-25 09:29:54 +01:00
Livio Spring and GitHub
d313e6d498
fix(setup): enable init-projection by default ( #7616 )
...
* fix(setup): enable init-projection by default
* update A10008
2024-03-23 12:52:52 +01:00
Livio Spring and GitHub
7494a7b6d9
feat(api): add possibility to retrieve user schemas ( #7614 )
...
This PR extends the user schema service (V3 API) with the possibility to ListUserSchemas and GetUserSchemaByID.
The previously started guide is extended to demonstrate how to retrieve the schema(s) and notes the generated revision property.
2024-03-22 13:26:13 +00:00
Livio Spring and GitHub
7e24a1adbc
fix: allow login by email case-insensitive ( #7578 )
...
A customer noted that the login by email was case-sensitive, which differs to the handling of the loginname.
This PR changes the email check to be case-insensitive (which it was already in same parts) and improve the search for this as well.
2024-03-20 15:51:26 +00:00
Livio Spring and GitHub
b2d7352a5a
fix(login): display username after registration with idp ( #7598 )
...
It was noticed multiple time (incl. customers) that the loginname is sometimes not rendered in the UI.
This PR fixes such an issue after registration of a new user from an IdP.
2024-03-20 15:02:57 +01:00
Livio Spring and GitHub
6c3f48f496
fix(login): (re)allow HTML in custom login texts ( #7575 )
...
fix: allow HTML in custom login texts
2024-03-15 16:29:10 +01:00
Livio Spring and GitHub
529b52f028
chore: update stable to 2.41.x ( #7547 )
2024-03-15 08:17:40 +00:00
Livio Spring and GitHub
20d1d56669
fix: enable resend code in user initialization without auth request ( #7568 )
2024-03-15 06:50:55 +01:00
Livio Spring and GitHub
bbb4dea0bd
chore: fix artifact upload for container build ( #7565 )
2024-03-14 11:10:53 +00:00
Livio Spring and GitHub
5d2cfc06d5
chore: update github actions ( #7564 )
2024-03-14 09:26:31 +00:00
Livio Spring and GitHub
252e59d5cd
fix: get orgID when missing on trigger logs ( #7555 )
2024-03-14 08:49:10 +00:00
Livio Spring and GitHub
266abcb23b
docs: describe session validation ( #7548 )
...
* docs: describe session validation
* typo
* resolve comments
2024-03-13 07:24:33 +00:00
Livio Spring and GitHub
a28b3a1c2d
fix: rendering of TOTP QR code ( #7549 )
2024-03-12 16:20:42 +00:00
Livio Spring and GitHub
0e181b218c
feat: implement user schema management ( #7416 )
...
This PR adds the functionality to manage user schemas through the new user schema service.
It includes the possibility to create a basic JSON schema and also provides a way on defining permissions (read, write) for owner and self context with an annotation.
Further annotations for OIDC claims and SAML attribute mappings will follow.
A guide on how to create a schema and assign permissions has been started. It will be extended though out the process of implementing the schema and users based on those.
Note:
This feature is in an early stage and therefore not enabled by default. To test it out, please enable the UserSchema feature flag on your instance / system though the feature service.
2024-03-12 13:50:13 +00:00
Livio Spring and GitHub
860b80c9ee
refactor: copy only required frameworks icons from docs in console ( #7538 )
2024-03-11 08:33:05 +00:00
Livio Spring and GitHub
07ec2efa9d
fix: use correct template package ( #7522 )
2024-03-11 07:52:02 +01:00
Livio Spring and GitHub
98bd355ce2
chore(workflow): update github actions ( #7508 )
2024-03-07 15:38:38 +00:00
ef8d0c86f7
chore: update stable ( #7370 )
...
* chore: update stable
* Update release-channels.yaml
---------
Co-authored-by: Silvan <[email protected] >
2024-02-29 16:13:20 +00:00
Livio Spring and GitHub
60a73df459
chore: add github-actions to dependabot ( #7468 )
2024-02-29 09:17:38 +00:00
Livio Spring and GitHub
68af4f59c9
fix(api): handle user disabling events correctly in session API ( #7380 )
...
This PR makes sure that user disabling events (deactivate, locked, ...) are correctly checked for sessions.
2024-02-28 09:30:05 +00:00
b877abd7a2
fix(login): ignore domain suffix for email / phone check ( #7446 )
...
Co-authored-by: Tim Möhlmann <[email protected] >
2024-02-26 14:05:18 +00:00
Livio Spring and GitHub
462f5462dc
docs: improve apis description ( #7400 )
...
* docs: improve apis description
* focus on version
* link to state
2024-02-19 15:39:36 +01:00
00d245eaf3
chore(codeql): use go version from go.mod ( #6807 )
...
* chore(codeql): use go version from go.mod
* try 2.15.0 explicitly
* tag version
* Update codeql.yml
* Update codeql.yml
* try make
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* Update codeql.yml
* use make compile and remove matrix check
* Update codeql.yml
* Update codeql.yml
* retry autobuild
* Update codeql.yml
* try autobuild with generated stub
* chore: change init step for codeQL
* chore: codeql
* chore: try new codeql version
* chore: new codeql-action version
* chore: new codeql-action version
* chore: new codeql-action version
* chore: new codeql-action version
---------
Co-authored-by: Stefan Benz <[email protected] >
2024-02-16 10:54:41 +00:00
Livio Spring and GitHub
104034c628
chore(api): initial definition of API for user schemas (user v3 and user schema v3 service) ( #7372 )
...
Adds the initial proto definition for a new user service (v3) based on user schema and it's corresponding user schema service (v3)
2024-02-15 11:22:48 +01:00
Livio Spring and GitHub
d5266ea51c
fix: set user agent cookie on host only (without subdomains) ( #7297 )
...
This PR changes the domain / prefix of the user agent cookie from including the subdomain to the domain only and therefore changing the prefix from __Secure to __Host.
Note:
As the cookie is used to determine existing session on the login UI, applying the change will require end-users to start a new session on the next login, since the existing ones cannot be retrieved anymore.
2024-02-15 07:53:59 +01:00
Livio Spring and GitHub
7f7fb55f34
fix: use configured binding on SAML IDPs and make sure CSP doesn't block POST binding ( #7341 )
...
fix: use configured binding on SAML IDPs and make sure CSP doesn't block POST binding
2024-02-05 14:45:15 +00:00
Livio Spring and GitHub
6bfa66cfa3
docs: fix init-projections flag value ( #7325 )
2024-02-01 07:12:29 +00:00
Livio Spring and GitHub
e000fdd792
fix: handle context correctly in processEvents ( #7320 )
2024-01-31 11:25:28 +01:00
Livio Spring and GitHub
c20204d84d
fix: set userAgentID in password change event if available ( #7319 )
2024-01-30 15:36:34 +01:00
Livio Spring and GitHub
121f9f8da1
feat(actions): add org metadata in complement token and saml response flows ( #7263 )
...
* feat(actions): add org metadata in complement token and saml response flows
* document actions
2024-01-26 08:56:10 +00:00
Livio Spring and GitHub
94b3799690
docs: update links of examples ( #7273 )
2024-01-23 15:29:50 +01:00
Livio Spring and GitHub
8470649ecb
chore: pin crdb version for unit tests ( #7260 )
...
* chore: pin crdb version for unit tests
* use latest 23.1 version
* use latest available 23.1 version
2024-01-18 08:16:54 +00:00
57f40a3c50
docs(examples): adds java spring boot examples ( #7226 )
...
* docs(examples): adds java spring boot examples
* add code highlighting for java and php
* Apply suggestions from code review
Co-authored-by: Tim Möhlmann <[email protected] >
* update references
---------
Co-authored-by: Silvan <[email protected] >
Co-authored-by: Tim Möhlmann <[email protected] >
2024-01-16 11:02:58 +00:00
Livio Spring and GitHub
96d0291848
fix: enable iframe use on http://localhost ( #7152 )
...
* fix: enable iframe use on http://localhost
* docs(iframe): add info about cookies
* improve comments
2024-01-16 11:28:56 +01:00
Livio Spring and GitHub
7c592ce638
fix(idp): provide id_token for tenant id based azure ad ( #7188 )
...
* fix(idp): provide id_token for tenant based azure ad
* comments
* remove unintentional changes
2024-01-10 15:02:17 +00:00
Livio Spring and GitHub
1a1bb564b9
docs(complement token): clarify when pre userinfo creation is executed ( #7189 )
2024-01-10 15:29:33 +01:00
Livio Spring and GitHub
c0cef4983a
fix: correctly respect maxFailureCount ( #7143 )
2024-01-04 15:46:25 +00:00
Livio Spring
acb604c045
docs: fix link to enterprise features
2023-12-21 07:47:06 +01:00
Livio Spring and GitHub
f4e73b9b75
docs: update go api client guide ( #7099 )
...
* docs: update go api client guide
* update branch reference
2023-12-20 15:56:48 +00:00
Livio Spring and GitHub
7dc8c19f39
docs: add go authentication example ( #7034 )
...
* docs: add go authentication example
* update sdks and example overview
* update branch name
2023-12-19 12:22:32 +00:00
Livio Spring and GitHub
edaa41903e
fix(projections): handle every instance by default and randomize start ( #7093 )
2023-12-19 13:32:08 +02:00
Livio Spring and GitHub
19d9b8ad41
fix: reduce eventual consistency ( #7075 )
...
* fix: reduce eventual consistency
* fix tests
* fix linting
2023-12-14 11:07:47 +01:00
Livio Spring and GitHub
831bb88ec4
fix: correctly delete sessions created before 2.42 ( #7050 )
...
* fix: correctly delete sessions created before 2.42
* fix test
* fix linting
* fixes requested from review
2023-12-09 08:59:51 +00:00
Livio Spring and GitHub
aa3c352ae7
fix: update external username on idp if auto update is enabled ( #7048 )
...
* fix: update external username on idp if auto update is enabled
* update errors package
2023-12-08 18:22:07 +01:00
Livio Spring and GitHub
6f3afb810d
fix: use host with potential port for instance context ( #7022 )
2023-12-06 16:53:41 +00:00
Livio Spring and GitHub
a87f54b328
docs: update go authorization example to the new version ( #7015 )
...
* docs: update go authorization example to the new version
* fix reference to code
2023-12-06 18:32:43 +02:00
Livio Spring and GitHub
970c062307
fix: projection version of restrictions ( #7028 )
2023-12-06 10:30:56 +00:00
Livio Spring and GitHub
236930f109
docs(api): add session lifetime format for REST calls ( #7019 )
2023-12-05 10:25:52 +01:00
Livio Spring and GitHub
e57076430b
fix: handle context when locking for trigger ( #7006 )
2023-12-01 11:13:57 +01:00
Livio Spring and GitHub
1ef186e338
docs: update session termination documentation ( #6966 )
2023-11-23 11:10:14 +00:00
b563041103
fix: ensure uniqueness ( #6956 )
...
* fix: ensure uniqueness
* only update wrong ones
* Update cmd/setup/16.go
Co-authored-by: Silvan <[email protected] >
---------
Co-authored-by: Silvan <[email protected] >
2023-11-22 12:05:14 +00:00
Livio Spring and GitHub
ad3563d58b
fix: handle project deactivate and remove correctly on tokens ( #6947 )
2023-11-21 10:05:22 +01:00
Livio Spring and GitHub
492b7d8676
docs(security.md): update link to disclosure policy ( #6948 )
2023-11-21 09:15:51 +01:00
Livio Spring and GitHub
2e8c3b5a53
feat: allow session deletion without session token ( #6889 )
...
* fix: add resource owner of user and change the one of session to instance
* use user resource owner from session projection
* fix session permission check
* integration tests and fixes
* update api docs
2023-11-16 07:35:50 +01:00
Livio Spring and GitHub
3bc9a60986
fix: allow webauthn checks for users of other orgs ( #6915 )
2023-11-14 09:42:39 +00:00
Livio Spring and GitHub
1344760369
fix: set samesite mode for CSRF cookie based on security policy ( #6914 )
2023-11-14 10:01:59 +01:00
Livio Spring and GitHub
0386fe7f96
fix: improve login_hint usage on IDPs ( #6899 )
...
* only set prompt if no login_hint is set
* update to current state and cleanup
2023-11-13 09:25:26 +01:00
Livio Spring and GitHub
22e2d55999
Merge pull request from GHSA-7h8m-vrxx-vr4m
...
* fix: handle locking policy correctly for multiple simultaneous password checks
* recheck events
2023-11-08 14:19:13 +01:00
Livio Spring and GitHub
e342e3d99b
fix: prevent panic in loginNameInformation ( #6876 )
2023-11-07 11:16:49 +01:00
Livio Spring and GitHub
f3b8a3aece
feat: add possibility to set an expiration to a session ( #6851 )
...
* add lifetime to session api
* extend session with lifetime
* check session token expiration
* fix typo
* integration test to check session token expiration
* integration test to check session token expiration
* i18n
* cleanup
* improve tests
* prevent negative lifetime
* fix error message
* fix lifetime check
2023-11-06 10:48:28 +01:00
Livio Spring and GitHub
ce322323aa
perf(oidc): remove db call for discovery configuration ( #6857 )
2023-11-03 15:18:57 +00:00
Livio Spring and GitHub
9378e19090
fix: payload (de)serialization of some events ( #6858 )
2023-11-03 11:02:17 +00:00
Livio Spring and GitHub
585c8af5f2
docs(technical advisory): add version to console branding ( #6852 )
2023-11-02 16:18:14 +01:00
Livio Spring and GitHub
34e9748cba
chore: update dependencies ( #6826 )
2023-10-26 15:03:57 +00:00
Livio Spring and GitHub
73dbf31368
Merge pull request from GHSA-954h-jrpm-72pm
2023-10-25 11:15:22 +02:00
Livio Spring and adlerhurst
426c4acbfe
fix(notification): get origin from all relevant events and fix nil pointer ( #6726 )
2023-10-19 10:34:52 +02:00
cb0a0f996e
fix(api): add remove otp sms and email to management api ( #6721 )
...
* fix(api): add remove otp sms and email to management api
* fix(console): remove otpsms and otpemail from user
---------
Co-authored-by: peintnermax <[email protected] >
2023-10-16 10:49:02 +03:00
Livio Spring and GitHub
ce719a3fa4
fix(notification): get origin from all relevant events and fix nil pointer ( #6726 )
2023-10-13 14:45:38 +00:00
Livio Spring and GitHub
95889cf576
fix(api): use organization instead of organisation ( #6720 )
...
* fix(api): use organization instead of organisation
* fix test
* docs: add deprecation notice
* remove validation
2023-10-13 12:37:35 +00:00
Livio Spring and GitHub
27e03120dc
fix(api): extend client_secret length for generic oauth and oidc providers to 1000 ( #6722 )
2023-10-13 14:31:39 +03:00
Livio Spring and GitHub
a272b1201f
fix(api): use (provided) organisation instead of resourceOwner of caller ( #6714 )
2023-10-12 10:00:36 +02:00
f2d1cd2045
docs(technical advisory): add login ui default context ( #6695 )
...
* docs(technical advisory): add login ui default context
* Update docs/docs/support/advisory/a10003.md
Co-authored-by: Fabi <[email protected] >
---------
Co-authored-by: Fabi <[email protected] >
2023-10-11 08:20:48 +02:00
Livio Spring and GitHub
4d85013ffb
chore: update stable ( #6690 )
2023-10-10 08:28:09 +02:00
Livio Spring
907a1611ac
fix(login): error case for unknown usernames correctly ( #6689 )
...
(cherry picked from commit 8549dd7a3d )
2023-10-10 07:41:16 +02:00
Livio Spring and GitHub
8549dd7a3d
fix(login): error case for unknown usernames correctly ( #6689 )
2023-10-09 15:05:25 +00:00
Livio Spring
dee9d8d3a7
Merge branch 'main' into next
...
# Conflicts:
# cmd/start/start.go
# internal/auth/repository/eventsourcing/eventstore/auth_request.go
# internal/auth/repository/eventsourcing/repository.go
# internal/command/main_test.go
# internal/command/quota.go
# internal/command/quota_model.go
# internal/command/quota_model_test.go
2023-10-09 14:18:29 +02:00
Livio Spring and GitHub
827ce8809d
fix: use enum for instance feature in system api ( #6682 )
...
* fix: use enum for instance feature in system api
* add feature.proto to lint ignore
2023-10-09 12:33:23 +02:00
Livio Spring
8ca053fad3
fix: respect "Ignore unknown usernames" on password reset
...
Merge pull request from GHSA-v683-rcxx-vpff
(cherry picked from commit 54676eda98 )
2023-10-09 12:12:16 +02:00
Livio Spring and GitHub
9696fde676
fix: reduce origin check to tokens issued through code and implicit flow ( #6681 )
...
fix: only check origin for tokens issued to users through apps (code / implicit flow)
2023-10-09 10:08:18 +00:00
Livio Spring and GitHub
54676eda98
Merge pull request from GHSA-v683-rcxx-vpff
2023-10-09 11:47:43 +02:00
Livio Spring and GitHub
e3ac217424
fix: ensure no events are skipped on token check ( #6663 )
...
fix: ensure no events are skipped on token check
2023-10-09 09:26:27 +02:00
Livio Spring and GitHub
2e99d0fe1b
fix(email): UTF-8 "Q" encode subject header ( #6637 )
...
fix(email): UTF-8 "Q" encode subject header
2023-09-29 08:53:45 +00:00
Livio Spring and GitHub
68bfab2fb3
feat(login): use default org for login without provided org context ( #6625 )
...
* start feature flags
* base feature events on domain const
* setup default features
* allow setting feature in system api
* allow setting feature in admin api
* set settings in login based on feature
* fix rebasing
* unit tests
* i18n
* update policy after domain discovery
* some changes from review
* check feature and value type
* check feature and value type
2023-09-29 08:21:32 +00:00
Livio Spring
41e31aad41
fix: only reuse active session and use correct policies (from user org) ( #6603 )
...
(cherry picked from commit 593d1605ab )
2023-09-21 16:57:03 +02:00