zitadel/internal/domain
Stefan Benz 15fd3045e0
feat: add SAML as identity provider (#6454)
* feat: first implementation for saml sp

* fix: add command side instance and org for saml provider

* fix: add query side instance and org for saml provider

* fix: request handling in event and retrieval of finished intent

* fix: add review changes and integration tests

* fix: add integration tests for saml idp

* fix: correct unit tests with review changes

* fix: add saml session unit test

* fix: add saml session unit test

* fix: add saml session unit test

* fix: changes from review

* fix: changes from review

* fix: proto build error

* fix: proto build error

* fix: proto build error

* fix: proto require metadata oneof

* fix: login with saml provider

* fix: integration test for saml assertion

* lint client.go

* fix json tag

* fix: linting

* fix import

* fix: linting

* fix saml idp query

* fix: linting

* lint: try all issues

* revert linting config

* fix: add regenerate endpoints

* fix: translations

* fix mk.yaml

* ignore acs path for user agent cookie

* fix: add AuthFromProvider test for saml

* fix: integration test for saml retrieve information

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-09-29 11:26:14 +02:00
..
action.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
application_api.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
application_key.go feat: Instance create (#4502) 2022-12-09 14:04:33 +01:00
application_oauth.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
application_oidc_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
application_oidc.go fix: typo at function's name: checkApplicationType (#6039) 2023-06-19 11:07:56 +00:00
application_saml.go feat(saml): implementation of saml for ZITADEL v2 (#3618) 2022-09-12 18:18:08 +02:00
application.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
asset.go fix: return absolute asset urls (#3676) 2022-05-20 10:30:12 +02:00
auth_request.go feat: add SAML as identity provider (#6454) 2023-09-29 11:26:14 +02:00
authn_key.go feat: Instance create (#4502) 2022-12-09 14:04:33 +01:00
browser_info.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
bucket.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
custom_login_text.go feat: add Help/Support e-mail for instance/org (#5445) 2023-03-28 21:36:52 +02:00
custom_message_text.go feat: SMS and email OTP texts (#6281) 2023-08-09 05:49:12 +00:00
custom_text.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
device_auth_test.go feat: device authorization RFC 8628 (#5646) 2023-04-19 08:46:02 +00:00
device_auth.go fix(projection): implement GoStringer for postgres (#5716) 2023-04-21 06:58:04 +00:00
deviceauthstate_string.go feat: device authorization RFC 8628 (#5646) 2023-04-19 08:46:02 +00:00
expiration.go feat: Instance create (#4502) 2022-12-09 14:04:33 +01:00
factors.go feat: enable otp email and sms (#6260) 2023-07-28 07:39:30 +02:00
feature_enumer.go feat(login): use default org for login without provided org context (#6625) 2023-09-29 08:21:32 +00:00
feature.go feat(login): use default org for login without provided org context (#6625) 2023-09-29 08:21:32 +00:00
flow.go feat: add saml custom attribute action and translations (#6341) 2023-08-15 15:04:45 +00:00
human_address.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
human_email_test.go feat: implement register Passkey user API v2 (#5873) 2023-05-24 10:22:00 +00:00
human_email.go feat: implement register Passkey user API v2 (#5873) 2023-05-24 10:22:00 +00:00
human_otp.go feat(api): add and remove OTP (SMS and email) (#6295) 2023-08-02 18:57:53 +02:00
human_password.go feat: integrate passwap for human user password hashing (#6196) 2023-07-14 09:49:57 +03:00
human_phone_test.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
human_phone.go feat: user v2 phone verification (#6309) 2023-08-03 06:42:59 +02:00
human_profile.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
human_test.go fix: set displayname correctly in EnsureDisplayName (#5702) 2023-04-17 06:26:40 +00:00
human_web_auth_n.go fix: provide domain in session, passkey and u2f (#6097) 2023-06-27 14:36:07 +02:00
human.go feat: integrate passwap for human user password hashing (#6196) 2023-07-14 09:49:57 +03:00
idp_config.go feat(login): use new IDP templates (#5315) 2023-02-28 21:20:58 +01:00
idp.go feat: add SAML as identity provider (#6454) 2023-09-29 11:26:14 +02:00
instance_domain.go feat: add random string to generated domain (#3634) 2022-05-16 11:26:24 +02:00
instance.go fix: instance remove (#4602) 2022-10-26 13:06:48 +00:00
key_pair.go feat(saml): implementation of saml for ZITADEL v2 (#3618) 2022-09-12 18:18:08 +02:00
machine_key.go feat: Instance create (#4502) 2022-12-09 14:04:33 +01:00
machine_secret.go feat: support client_credentials for service users (#5134) 2023-01-31 19:52:47 +00:00
machine.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
member.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
metadata.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
mfa.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
next_step.go feat: display login succeeded page only for native apps (#2839) 2021-12-14 09:47:49 +01:00
notification.go feat: Notification providers config (#3212) 2022-03-07 14:22:37 +01:00
object.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
oidc_code_challenge.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
oidc_error_reason.go feat(api): add OIDC session service (#6157) 2023-07-10 13:27:00 +00:00
oidc_mapping_field.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
oidc_session.go feat(api): add OIDC session service (#6157) 2023-07-10 13:27:00 +00:00
oidc_settings.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_domain_test.go fix: sanitize primary domain for orgs (#6125) 2023-07-18 12:42:57 +00:00
org_domain.go fix: sanitize primary domain for orgs (#6125) 2023-07-18 12:42:57 +00:00
org.go fix: trim spaces for usernames and organization names (#4217) 2022-08-19 15:00:14 +02:00
permission.go feat(api): list authentication method types in user api v2 (#6058) 2023-06-20 16:23:28 +00:00
policy_domain.go feat: restrict smtp sender address (#3637) 2022-05-16 14:08:47 +00:00
policy_label_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
policy_label.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
policy_login_test.go feat: add default redirect uri and handling of unknown usernames (#3616) 2022-05-16 13:39:09 +00:00
policy_login.go feat: allow to force MFA local only (#6234) 2023-07-20 04:06:16 +00:00
policy_mail_template.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
policy_password_age.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
policy_password_complexity.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
policy_password_lockout.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
policy_privacy.go feat: add Help/Support e-mail for instance/org (#5445) 2023-03-28 21:36:52 +02:00
policy.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
project_grant_member.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
project_grant.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
project_role.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
project.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
provider.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
refresh_token.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
request.go feat: device authorization RFC 8628 (#5646) 2023-04-19 08:46:02 +00:00
roles.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
search_method.go fix: todos (#1346) 2021-03-01 08:48:50 +01:00
secret_generator.go feat: add secret generators for OTP (#6262) 2023-07-26 11:00:41 +00:00
session.go feat(api): add otp (sms and email) checks in session api (#6422) 2023-08-24 09:41:52 +00:00
sms.go feat: Default configs sms provider (#3187) 2022-02-21 12:22:20 +00:00
smtp.go fix: add smtp config, remove smtp and sms provider, console adaptations (#3792) 2022-06-10 12:39:38 +02:00
step.go feat: allow global org users to create org and self delete (#2759) 2021-12-09 08:41:21 +00:00
token.go feat(api): allow specifying access_token type (opaque/JWT) for service users (#5150) 2023-02-08 08:06:34 +00:00
unique_constraint_migration.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
url_template_test.go feat: implement register Passkey user API v2 (#5873) 2023-05-24 10:22:00 +00:00
url_template.go feat: implement register Passkey user API v2 (#5873) 2023-05-24 10:22:00 +00:00
user_grant.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
user_idp_link.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
user_membership.go fix: Remove user with cascading memberships (#1811) 2021-06-07 07:20:47 +02:00
user_v2_passkey_test.go feat: implement register Passkey user API v2 (#5873) 2023-05-24 10:22:00 +00:00
user_v2_passkey.go feat(v2): register user u2f (#6020) 2023-06-15 05:32:40 +00:00
user.go feat(api): add and remove OTP (SMS and email) (#6295) 2023-08-02 18:57:53 +02:00