zitadel/internal/command
Livio Amstutz bf4c4d881d
fix: access tokens for service users and refresh token infos (#1779)
* fix: access token for service user

* handle info from refresh request

* uniqueness

* postpone access token uniqueness change
2021-05-26 09:01:07 +02:00
..
auth_checks.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
command.go feat: refresh token (#1728) 2021-05-20 11:33:35 +00:00
converter.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
features_model.go feat: custom domain feature (#1618) 2021-04-19 16:43:36 +02:00
iam_converter.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
iam_features_model.go feat: custom domain feature (#1618) 2021-04-19 16:43:36 +02:00
iam_features.go feat: custom domain feature (#1618) 2021-04-19 16:43:36 +02:00
iam_idp_config_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_idp_config_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
iam_idp_config.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
iam_idp_oidc_config_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_idp_oidc_config_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
iam_idp_oidc_config.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
iam_member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_member_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
iam_member.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_label_model.go fix: import user, hide login name suffix (#1474) 2021-03-25 14:41:07 +01:00
iam_policy_label_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
iam_policy_label.go fix: import user, hide login name suffix (#1474) 2021-03-25 14:41:07 +01:00
iam_policy_login_factors_model.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
iam_policy_login_identity_provider_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_login_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_login_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
iam_policy_login.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
iam_policy_mail_template_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_mail_template_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
iam_policy_mail_template.go feat(notification): new mail templates (#1579) 2021-04-16 14:55:55 +02:00
iam_policy_mail_text_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_mail_text_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
iam_policy_mail_text.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_policy_org_iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_org_iam_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
iam_policy_org_iam.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
iam_policy_password_age_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_password_age_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
iam_policy_password_age.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
iam_policy_password_complexity_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_password_complexity_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
iam_policy_password_complexity.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
iam_policy_password_lockout_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_password_lockout_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
iam_policy_password_lockout.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
iam.go fix: todos (#1346) 2021-03-01 08:48:50 +01:00
identity_provider_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
idp_config_model.go fix: todos (#1346) 2021-03-01 08:48:50 +01:00
key_pair_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
key_pair.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
main_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
oidc_config_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_converter.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_domain_model.go feat: custom domain feature (#1618) 2021-04-19 16:43:36 +02:00
org_domain_test.go fix: uniqueness (#1710) 2021-05-04 09:09:24 +00:00
org_domain.go fix: uniqueness (#1710) 2021-05-04 09:09:24 +00:00
org_features_model.go fix: set custom domains feature on orgs (#1623) 2021-04-20 10:46:09 +02:00
org_features_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
org_features.go fix: set custom domains feature on orgs (#1623) 2021-04-20 10:46:09 +02:00
org_idp_config_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_idp_config_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
org_idp_config.go fix: handle org features downgrades (#1578) 2021-04-12 17:03:09 +02:00
org_idp_oidc_config_model.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_idp_oidc_config_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
org_idp_oidc_config.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_member_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
org_member.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
org_model.go fix(org): handle reactivate event in write model (#1596) 2021-04-15 18:15:49 +02:00
org_policy_label_model.go fix: import user, hide login name suffix (#1474) 2021-03-25 14:41:07 +01:00
org_policy_label_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
org_policy_label.go fix: handle org features downgrades (#1578) 2021-04-12 17:03:09 +02:00
org_policy_login_factors_model.go fix: handle org features downgrades (#1578) 2021-04-12 17:03:09 +02:00
org_policy_login_identity_provider_model.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_login_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_login_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
org_policy_login.go fix: handle org features downgrades (#1578) 2021-04-12 17:03:09 +02:00
org_policy_mail_template_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_mail_template_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
org_policy_mail_template.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_mail_text_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_mail_text_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
org_policy_mail_text.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_org_iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_org_iam_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
org_policy_org_iam.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_password_age_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_age_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
org_policy_password_age.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_password_complexity_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_complexity_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
org_policy_password_complexity.go fix: handle org features downgrades (#1578) 2021-04-12 17:03:09 +02:00
org_policy_password_lockout_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_lockout_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
org_policy_password_lockout.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_test.go fix: uniqueness (#1710) 2021-05-04 09:09:24 +00:00
org.go fix: uniqueness (#1710) 2021-05-04 09:09:24 +00:00
policy_label_model.go fix: import user, hide login name suffix (#1474) 2021-03-25 14:41:07 +01:00
policy_login_factors_model.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
policy_login_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_mail_template_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_mail_text_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_org_iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_password_age_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_password_complexity_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_password_lockout_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_application_api_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_application_api_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
project_application_api.go fix: remove app name check on ChangeAPIApplication (#1561) 2021-04-09 11:50:06 +02:00
project_application_key_model.go fix: es bugs (#1455) 2021-03-23 15:08:49 +01:00
project_application_key_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_application_key.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_application_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_application_oidc_model.go feat: add additional origins on applications (#1691) 2021-05-19 09:17:38 +02:00
project_application_oidc_test.go feat: add additional origins on applications (#1691) 2021-05-19 09:17:38 +02:00
project_application_oidc.go feat: add additional origins on applications (#1691) 2021-05-19 09:17:38 +02:00
project_application_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
project_application.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_converter.go feat: add additional origins on applications (#1691) 2021-05-19 09:17:38 +02:00
project_grant_member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_grant_member_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
project_grant_member.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_grant_model.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_grant_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
project_grant.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
project_member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_member_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
project_member.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_role_model.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_role_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
project_role.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
project.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
setup_step1.go fix: uniqueness (#1710) 2021-05-04 09:09:24 +00:00
setup_step2.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step3.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step4.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step5.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step6.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step7.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
setup_step8.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
setup_step9.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
setup_step10.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step11.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step12.go fix: enable all features possible in step 12 (#1656) 2021-04-23 08:30:56 +00:00
setup_step13.go feat(notification): new mail templates (#1579) 2021-04-16 14:55:55 +02:00
setup.go fix: setup (#1515) 2021-04-01 10:14:07 +02:00
unique_constraints_model.go fix: setup (#1555) 2021-04-07 20:44:43 +02:00
user_converter.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_grant_converter.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_grant_model.go fix: user grants (#1645) 2021-04-22 10:03:24 +00:00
user_grant_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
user_grant.go fix: new es bug fixes (#1477) 2021-03-25 18:12:24 +01:00
user_human_address_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_address.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_adress_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
user_human_email_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_email_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
user_human_email.go fix: backend fixes (#1452) 2021-03-22 15:36:59 +01:00
user_human_externalidp_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_human_externalidp_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
user_human_externalidp.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_init_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_init_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
user_human_init.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_otp_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_otp_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
user_human_otp.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_password_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_password_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
user_human_password.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_phone_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_phone_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
user_human_phone.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
user_human_profile_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_profile_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
user_human_profile.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_refresh_token_model.go feat: refresh token (#1728) 2021-05-20 11:33:35 +00:00
user_human_refresh_token_test.go feat: refresh token (#1728) 2021-05-20 11:33:35 +00:00
user_human_refresh_token.go feat: refresh token (#1728) 2021-05-20 11:33:35 +00:00
user_human_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
user_human_webauthn_model.go fix: pass necessary webauthn data through events (#1544) 2021-04-07 14:19:01 +02:00
user_human_webauthn.go fix: pass necessary webauthn data through events (#1544) 2021-04-07 14:19:01 +02:00
user_human.go fix: use email as username on global org (#1738) 2021-05-17 11:39:51 +00:00
user_machine_key_model.go fix: todos (#1502) 2021-03-31 11:10:06 +02:00
user_machine_key.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
user_machine_model.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_machine_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
user_machine.go fix: todos (#1502) 2021-03-31 11:10:06 +02:00
user_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_test.go feat: asset storage (#1696) 2021-05-03 10:15:50 +02:00
user.go fix: access tokens for service users and refresh token infos (#1779) 2021-05-26 09:01:07 +02:00