zitadel/internal/command
Tim Möhlmann 7a34697267
fix(oidc): return bad request for base64 errors (#7730)
* fix(oidc): return bad request for base64 errors

We've recently noticed an increased amount of 500: internal server error status returns on zitadel cloud.
The source of these errors appear to be erroneous input in fields that are supposed to be bas64 formatted.

```
time=2024-04-08T14:05:47.600Z level=ERROR msg="request error" oidc_error.parent="ID=OIDC-AhX2u Message=Errors.Internal Parent=(illegal base64 data at input byte 8)" oidc_error.description=Errors.Internal oidc_error.type=server_error status_code=500
```

Within the possible code paths of the token endpoint there are a couple of uses of base64.Encoding.DecodeString of which a returned error was not properly wrapped, but returned as-is.
This causes the oidc error handler to return a 500 with the `OIDC-AhX2u` ID.
We were not able to pinpoint the exact errors that are happening to any one call of `DecodeString`.

This fix wraps all errors from `DecodeString` so that proper 400: bad request is returned with information about the error. Each wrapper now has an unique error ID, so that logs will contain the source of the error as well.

This bug was reported internally by the ops team.

* catch op.ErrInvalidRefreshToken

(cherry picked from commit c8e0b30e17)
2024-04-09 14:02:28 +02:00
..
preparation refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
action_v2_execution_model_test.go feat: add executions for actions v2 (#7433) 2024-02-26 12:49:43 +02:00
action_v2_execution_model.go feat: add executions for actions v2 (#7433) 2024-02-26 12:49:43 +02:00
action_v2_execution_test.go feat: query side for executions and targets for actions v2 (#7524) 2024-03-14 09:56:23 +00:00
action_v2_execution.go feat: add executions for actions v2 (#7433) 2024-02-26 12:49:43 +02:00
action_v2_target_model_test.go feat: add executions for actions v2 (#7433) 2024-02-26 12:49:43 +02:00
action_v2_target_model.go feat: add executions for actions v2 (#7433) 2024-02-26 12:49:43 +02:00
action_v2_target_test.go feat: add executions for actions v2 (#7433) 2024-02-26 12:49:43 +02:00
action_v2_target.go feat: add executions for actions v2 (#7433) 2024-02-26 12:49:43 +02:00
auth_checks.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
auth_request_model.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
auth_request_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
auth_request.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
command_test.go perf(oidc): optimize client verification (#6999) 2023-12-05 17:01:03 +00:00
command.go feat: add executions for actions v2 (#7433) 2024-02-26 12:49:43 +02:00
converter.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
crypto_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
crypto.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
custom_login_text_model.go fix: reset custom texts to default (#6833) 2023-10-27 17:43:13 +00:00
custom_login_text.go fix: reset custom texts to default (#6833) 2023-10-27 17:43:13 +00:00
custom_message_text_model.go fix(logintexts): fix several custom text attributes for get and set (#4733) 2022-12-01 13:31:46 +01:00
debug_notification_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
device_auth_model.go feat(oidc): id token for device authorization (#7088) 2023-12-20 13:21:08 +01:00
device_auth_test.go feat(oidc): id token for device authorization (#7088) 2023-12-20 13:21:08 +01:00
device_auth.go feat(oidc): id token for device authorization (#7088) 2023-12-20 13:21:08 +01:00
email.go chore: cleanup command/crypto (#5883) 2023-07-10 08:07:10 +00:00
existing_label_policies_model.go fix(eventstore): prevent allocation of filtered events (#6749) 2023-10-19 15:21:31 +00:00
flow_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
identity_provider_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
idp_config_model.go feat(login): additionally use email/phone for authentication (#4563) 2022-10-17 19:19:15 +00:00
idp_intent_model.go feat: add SAML as identity provider (#6454) 2023-09-29 11:26:14 +02:00
idp_intent_test.go fix(idp): provide id_token for tenant id based azure ad (#7188) 2024-01-10 15:02:17 +00:00
idp_intent.go fix(idp): provide id_token for tenant id based azure ad (#7188) 2024-01-10 15:02:17 +00:00
idp_model_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
idp_model.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
idp.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_converter.go fix: reset custom texts to default (#6833) 2023-10-27 17:43:13 +00:00
instance_custom_login_text_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
instance_custom_login_text_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_custom_login_text.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_custom_message_text_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
instance_custom_message_text_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_custom_message_text.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_debug_notification_file_model.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
instance_debug_notification_file_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_debug_notification_file.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_debug_notification_log_model.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
instance_debug_notification_log_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_debug_notification_log.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_domain_model.go fix(eventstore): prevent allocation of filtered events (#6749) 2023-10-19 15:21:31 +00:00
instance_domain_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_domain.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_features_model.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
instance_features_test.go feat: implement user schema management (#7416) 2024-03-12 13:50:13 +00:00
instance_features.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
instance_idp_config_model.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
instance_idp_config_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_idp_config.go fix: keep user idp links (#7079) 2023-12-19 10:25:50 +00:00
instance_idp_jwt_config_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
instance_idp_jwt_config_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_idp_jwt_config.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_idp_model.go feat: add SAML as identity provider (#6454) 2023-09-29 11:26:14 +02:00
instance_idp_oidc_config_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
instance_idp_oidc_config_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_idp_oidc_config.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_idp_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_idp.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_member_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
instance_member_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_member.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_model.go fix(eventstore): prevent allocation of filtered events (#6749) 2023-10-19 15:21:31 +00:00
instance_oidc_settings_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
instance_oidc_settings_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_oidc_settings.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_domain_model.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_domain_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_domain.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
instance_policy_label_model.go feat: add attribute to only enable specific themes (#6798) 2023-10-26 05:54:09 +00:00
instance_policy_label_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_label.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_login_factors_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
instance_policy_login_identity_provider_model.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
instance_policy_login_model.go feat: allow to force MFA local only (#6234) 2023-07-20 04:06:16 +00:00
instance_policy_login_test.go fix: keep user idp links (#7079) 2023-12-19 10:25:50 +00:00
instance_policy_login.go fix: keep user idp links (#7079) 2023-12-19 10:25:50 +00:00
instance_policy_mail_template_model.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
instance_policy_mail_template_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_mail_template.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_notification_model.go feat: add notification policy and password change message (#5065) 2023-01-25 09:49:41 +01:00
instance_policy_notification_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_notification.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_password_age_model.go feat: add quotas (#4779) 2023-02-15 02:52:11 +01:00
instance_policy_password_age_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_password_age.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_password_complexity_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
instance_policy_password_complexity_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_password_complexity.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_password_lockout_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
instance_policy_password_lockout_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_password_lockout.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_privacy_model.go feat: add Help/Support e-mail for instance/org (#5445) 2023-03-28 21:36:52 +02:00
instance_policy_privacy_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_privacy.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_policy_security_model.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
instance_policy_security.go feat: impersonation roles (#7442) 2024-02-28 10:21:11 +00:00
instance_secret_generator_model.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
instance_settings_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_settings.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_smtp_config_model.go fix(backend): include removed SMTP config in Query (#6624) (#6673) 2023-10-10 12:45:45 +00:00
instance_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance.go feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
jwt_config_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
key_pair_model.go feat(saml): implementation of saml for ZITADEL v2 (#3618) 2022-09-12 18:18:08 +02:00
key_pair.go feat(saml): implementation of saml for ZITADEL v2 (#3618) 2022-09-12 18:18:08 +02:00
limits_bulk_model.go feat: block instances (#7129) 2024-01-17 10:16:48 +00:00
limits_model.go feat: block instances (#7129) 2024-01-17 10:16:48 +00:00
limits_test.go feat: block instances (#7129) 2024-01-17 10:16:48 +00:00
limits.go feat: block instances (#7129) 2024-01-17 10:16:48 +00:00
main_test.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
member_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
metadata_model.go fix(metadata): corrected handling of remove metadata events (#4505) 2022-10-07 09:44:28 +00:00
milestone.go feat: push telemetry (#6027) 2023-07-06 08:38:13 +02:00
oidc_config_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
oidc_session_model.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
oidc_session_test.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
oidc_session.go fix(oidc): return bad request for base64 errors (#7730) 2024-04-09 14:02:28 +02:00
org_action_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_action_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_action.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_converter.go feat: add Help/Support e-mail for instance/org (#5445) 2023-03-28 21:36:52 +02:00
org_custom_login_text_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_custom_login_text_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_custom_login_text.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_custom_message_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_custom_message_text_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_custom_message_text.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_domain_model.go fix(eventstore): prevent allocation of filtered events (#6749) 2023-10-19 15:21:31 +00:00
org_domain_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_domain.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_flow_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_flow_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_flow.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_idp_config_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_idp_config_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_idp_config.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_idp_jwt_config_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_idp_jwt_config_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_idp_jwt_config.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_idp_model.go feat: add SAML as identity provider (#6454) 2023-09-29 11:26:14 +02:00
org_idp_oidc_config_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_idp_oidc_config_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_idp_oidc_config.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_idp_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_idp.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_member_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_member_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_member.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_metadata_model.go feat(org): add org metadata functionality (#4234) 2022-09-20 14:32:09 +00:00
org_metadata_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_metadata.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_model.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
org_policy_domain_model.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_domain_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_domain.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
org_policy_label_model.go feat: add attribute to only enable specific themes (#6798) 2023-10-26 05:54:09 +00:00
org_policy_label_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_label.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_lockout_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_policy_lockout_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_lockout.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_login_factors_model.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
org_policy_login_identity_provider_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_policy_login_model.go fix: change force local mfa on org (#6432) 2023-08-25 15:17:12 +02:00
org_policy_login_test.go fix: keep user idp links (#7079) 2023-12-19 10:25:50 +00:00
org_policy_login.go fix: keep user idp links (#7079) 2023-12-19 10:25:50 +00:00
org_policy_mail_template_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_policy_mail_template_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_mail_template.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_notification_model.go feat: add notification policy and password change message (#5065) 2023-01-25 09:49:41 +01:00
org_policy_notification_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_notification.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_password_age_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_policy_password_age_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_password_age.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_password_complexity_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
org_policy_password_complexity_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_password_complexity.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_privacy_model.go feat: add Help/Support e-mail for instance/org (#5445) 2023-03-28 21:36:52 +02:00
org_policy_privacy_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_policy_privacy.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
org.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
phone_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
phone.go feat: user v2 phone verification (#6309) 2023-08-03 06:42:59 +02:00
policy_label_model.go feat: add attribute to only enable specific themes (#6798) 2023-10-26 05:54:09 +00:00
policy_login_factors_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
policy_login_model.go feat: allow to force MFA local only (#6234) 2023-07-20 04:06:16 +00:00
policy_mail_template_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
policy_notification_model.go feat: add notification policy and password change message (#5065) 2023-01-25 09:49:41 +01:00
policy_org_model.go fix: remove domain and user correctly in DomainPolicyUsernamesWriteModel (#4850) 2022-12-08 08:11:49 +01:00
policy_password_age_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
policy_password_complexity_model.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
policy_password_lockout_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
policy_privacy_model.go feat: add Help/Support e-mail for instance/org (#5445) 2023-03-28 21:36:52 +02:00
preparation_test.go fix: set domain verified if domain policy does not require validation (#4061) 2022-07-28 13:18:31 +02:00
project_application_api_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
project_application_api_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_application_api.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_application_key_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
project_application_key_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_application_key.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_application_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
project_application_oidc_model.go feat: allow skip of success page for native apps (#5627) 2023-04-11 15:07:32 +00:00
project_application_oidc_test.go fix: trim whitespaces in redirect, post and origins uris set through console (#7334) 2024-02-12 09:56:55 +01:00
project_application_oidc.go fix: trim whitespaces in redirect, post and origins uris set through console (#7334) 2024-02-12 09:56:55 +01:00
project_application_saml_model.go fix(saml): correct handling of remove (#5606) 2023-04-05 11:42:00 +00:00
project_application_saml_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_application_saml.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_application_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_application.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_converter.go feat: allow skip of success page for native apps (#5627) 2023-04-11 15:07:32 +00:00
project_grant_member_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
project_grant_member_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_grant_member.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_grant_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
project_grant_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_grant.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_member_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
project_member_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_member.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
project_role_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
project_role_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_role.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
quota_model_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
quota_model.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
quota_report_test.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
quota_report.go perf: project quotas and usages (#6441) 2023-09-15 16:58:45 +02:00
quota_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
quota.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
resource_ower_model.go fix: correctly delete sessions created before 2.42 (#7050) 2023-12-09 08:59:51 +00:00
restrictions_model.go feat: restrict languages (#6931) 2023-12-05 11:12:01 +00:00
restrictions_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
restrictions.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
session_model_test.go feat(api/v2): implement U2F session check (#6339) 2023-08-11 15:36:18 +00:00
session_model.go fix: correctly delete sessions created before 2.42 (#7050) 2023-12-09 08:59:51 +00:00
session_otp_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
session_otp.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
session_test.go fix: correctly delete sessions created before 2.42 (#7050) 2023-12-09 08:59:51 +00:00
session_webauhtn.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
session_webauthn_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
session.go fix: get orgID when missing on trigger logs (#7555) 2024-03-14 08:49:10 +00:00
sms_config_model.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
sms_config_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
sms_config.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
smtp_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
smtp.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
statics.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
system_features_model.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
system_features_test.go feat: implement user schema management (#7416) 2024-03-12 13:50:13 +00:00
system_features.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
system_model.go fix(eventstore): prevent allocation of filtered events (#6749) 2023-10-19 15:21:31 +00:00
unique_constraints_model.go refactor: cleanup unused code (#7130) 2024-01-02 14:26:31 +00:00
user_converter.go feat(login): add OTP (email and sms) (#6353) 2023-08-15 12:47:05 +00:00
user_domain_policy_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_domain_policy.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
user_grant_converter.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
user_grant_model.go fix: improve user grants precondition checks (#4237) 2022-08-24 11:38:59 +02:00
user_grant_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_grant.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_human_access_token_model.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
user_human_address_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
user_human_address.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_human_adress_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_human_avatar_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_human_avatar.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_human_email_model.go feat: user v2alpha email API (#5708) 2023-04-25 09:02:29 +02:00
user_human_email_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_human_email.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_human_init_model.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
user_human_init_test.go fix: set userAgentID in password change event if available (#7319) 2024-01-30 15:36:34 +01:00
user_human_init.go fix: set userAgentID in password change event if available (#7319) 2024-01-30 15:36:34 +01:00
user_human_model.go fix: handle password data correct on user creation (#6515) 2023-09-07 14:06:11 +00:00
user_human_otp_model.go feat(login): add OTP (email and sms) (#6353) 2023-08-15 12:47:05 +00:00
user_human_otp_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_human_otp.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
user_human_password_model.go Merge pull request from GHSA-7h8m-vrxx-vr4m 2023-11-08 14:19:13 +01:00
user_human_password_test.go fix: set userAgentID in password change event if available (#7319) 2024-01-30 15:36:34 +01:00
user_human_password.go docs: Contribution guidelines (#7443) 2024-02-26 13:11:09 +00:00
user_human_phone_model.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
user_human_phone_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_human_phone.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_human_profile_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
user_human_profile_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_human_profile.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_human_refresh_token_model.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
user_human_refresh_token_test.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
user_human_refresh_token.go fix(oidc): correctly return new refresh token on refresh token grant (#7707) 2024-04-04 18:02:42 +02:00
user_human_test.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
user_human_webauthn_model.go feat(api/v2): implement U2F session check (#6339) 2023-08-11 15:36:18 +00:00
user_human_webauthn.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
user_human.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
user_idp_link_model.go fix: migrate external id of federated users (#6312) 2023-08-04 11:35:36 +02:00
user_idp_link_test.go fix: update external username on idp if auto update is enabled (#7048) 2023-12-08 18:22:07 +01:00
user_idp_link.go fix: remove resourceowner read from context in user v2 api (#7641) 2024-03-27 18:22:17 +00:00
user_machine_key_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
user_machine_key_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_machine_key.go fix: add expiration date information to service users keys (#7497) 2024-03-13 18:21:19 +00:00
user_machine_model.go feat(api): allow specifying access_token type (opaque/JWT) for service users (#5150) 2023-02-08 08:06:34 +00:00
user_machine_secret_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_machine_secret.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_machine_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_machine.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_membership.go fix(notify): notify user in projection (#3889) 2022-07-06 14:09:49 +02:00
user_metadata_model.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
user_metadata_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_metadata.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_model.go fix(command): allow email as username (#6565) 2023-09-15 15:29:29 +00:00
user_password_complexity_policy_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_password_complexity_policy.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_personal_access_token_model.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
user_personal_access_token_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_personal_access_token.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_schema_model.go feat: implement user schema management (#7416) 2024-03-12 13:50:13 +00:00
user_schema_test.go feat: implement user schema management (#7416) 2024-03-12 13:50:13 +00:00
user_schema.go feat: implement user schema management (#7416) 2024-03-12 13:50:13 +00:00
user_test.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
user_v2_email_test.go feat: add implementation for resend of email and phone code (#7348) 2024-02-14 07:22:55 +00:00
user_v2_email.go feat: add implementation for resend of email and phone code (#7348) 2024-02-14 07:22:55 +00:00
user_v2_human_test.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
user_v2_human.go fix: set userAgentID in password change event if available (#7319) 2024-01-30 15:36:34 +01:00
user_v2_model_test.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
user_v2_model.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
user_v2_passkey_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_v2_passkey.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_v2_password_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_v2_password.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_v2_phone_test.go feat: add implementation for resend of email and phone code (#7348) 2024-02-14 07:22:55 +00:00
user_v2_phone.go feat: add implementation for resend of email and phone code (#7348) 2024-02-14 07:22:55 +00:00
user_v2_test.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
user_v2_totp_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_v2_totp.go feat(api): add and remove OTP (SMS and email) (#6295) 2023-08-02 18:57:53 +02:00
user_v2_u2f_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_v2_u2f.go fix: provide domain in session, passkey and u2f (#6097) 2023-06-27 14:36:07 +02:00
user_v2_username.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
user_v2.go feat: user service v2 create, update and remove (#6996) 2023-12-21 10:03:37 +01:00
user.go fix(oidc): define audience inside auth request instead of token creation (#7610) 2024-03-21 19:42:44 +02:00