mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-26 22:38:45 +00:00
feat(oidc): move back-channel logout from beta to GA (#11493)
# Which Problems Are Solved This PR marks the OIDC Back-Channel Logout as general available (GA). # How the Problems Are Solved - API: - deprecated the feature toggle (to prevent breaking changes) in v2beta and v2 API - removed all related event logic and updated the projection iteration - removed the toggle usage for back-channel logout - removed related translations - Management Console: - removed the feature toggle and its translations - Docs: - removed all beta labels and feature toggle notes # Additional Changes none # Additional Context - closes #11277 - requires backport to v4.x
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
type Key int
|
||||
|
||||
const (
|
||||
// Reserved: 2, 3, 5, 6, 8, 11
|
||||
// Reserved: 2, 3, 5, 6, 8, 11, 12
|
||||
|
||||
KeyUnspecified Key = 0
|
||||
KeyLoginDefaultOrg Key = 1
|
||||
@@ -17,7 +17,6 @@ const (
|
||||
KeyImprovedPerformance Key = 7
|
||||
KeyDebugOIDCParentError Key = 9
|
||||
KeyOIDCSingleV1SessionTermination Key = 10
|
||||
KeyEnableBackChannelLogout Key = 12
|
||||
KeyLoginV2 Key = 13
|
||||
KeyPermissionCheckV2 Key = 14
|
||||
KeyManagementConsoleUseV2UserApi Key = 15
|
||||
@@ -44,7 +43,6 @@ type Features struct {
|
||||
DebugOIDCParentError bool `json:"debug_oidc_parent_error,omitempty"`
|
||||
OIDCSingleV1SessionTermination bool `json:"oidc_single_v1_session_termination,omitempty"`
|
||||
DisableUserTokenEvent bool `json:"disable_user_token_event,omitempty"`
|
||||
EnableBackChannelLogout bool `json:"enable_back_channel_logout,omitempty"`
|
||||
LoginV2 LoginV2 `json:"login_v2,omitempty"`
|
||||
PermissionCheckV2 bool `json:"permission_check_v2,omitempty"`
|
||||
ConsoleUseV2UserApi bool `json:"console_use_v2_user_api,omitempty"`
|
||||
|
||||
@@ -16,8 +16,8 @@ const (
|
||||
_KeyLowerName_2 = "improved_performance"
|
||||
_KeyName_3 = "debug_oidc_parent_erroroidc_single_v1_session_termination"
|
||||
_KeyLowerName_3 = "debug_oidc_parent_erroroidc_single_v1_session_termination"
|
||||
_KeyName_4 = "enable_back_channel_logoutlogin_v2permission_check_v2management_console_use_v2_user_apienable_relational_tables"
|
||||
_KeyLowerName_4 = "enable_back_channel_logoutlogin_v2permission_check_v2management_console_use_v2_user_apienable_relational_tables"
|
||||
_KeyName_4 = "login_v2permission_check_v2management_console_use_v2_user_apienable_relational_tables"
|
||||
_KeyLowerName_4 = "login_v2permission_check_v2management_console_use_v2_user_apienable_relational_tables"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -25,7 +25,7 @@ var (
|
||||
_KeyIndex_1 = [...]uint8{0, 11}
|
||||
_KeyIndex_2 = [...]uint8{0, 20}
|
||||
_KeyIndex_3 = [...]uint8{0, 23, 57}
|
||||
_KeyIndex_4 = [...]uint8{0, 26, 34, 53, 87, 111}
|
||||
_KeyIndex_4 = [...]uint8{0, 8, 27, 61, 85}
|
||||
)
|
||||
|
||||
func (i Key) String() string {
|
||||
@@ -39,8 +39,8 @@ func (i Key) String() string {
|
||||
case 9 <= i && i <= 10:
|
||||
i -= 9
|
||||
return _KeyName_3[_KeyIndex_3[i]:_KeyIndex_3[i+1]]
|
||||
case 12 <= i && i <= 16:
|
||||
i -= 12
|
||||
case 13 <= i && i <= 16:
|
||||
i -= 13
|
||||
return _KeyName_4[_KeyIndex_4[i]:_KeyIndex_4[i+1]]
|
||||
default:
|
||||
return fmt.Sprintf("Key(%d)", i)
|
||||
@@ -57,38 +57,35 @@ func _KeyNoOp() {
|
||||
_ = x[KeyImprovedPerformance-(7)]
|
||||
_ = x[KeyDebugOIDCParentError-(9)]
|
||||
_ = x[KeyOIDCSingleV1SessionTermination-(10)]
|
||||
_ = x[KeyEnableBackChannelLogout-(12)]
|
||||
_ = x[KeyLoginV2-(13)]
|
||||
_ = x[KeyPermissionCheckV2-(14)]
|
||||
_ = x[KeyManagementConsoleUseV2UserApi-(15)]
|
||||
_ = x[KeyEnableRelationalTables-(16)]
|
||||
}
|
||||
|
||||
var _KeyValues = []Key{KeyUnspecified, KeyLoginDefaultOrg, KeyUserSchema, KeyImprovedPerformance, KeyDebugOIDCParentError, KeyOIDCSingleV1SessionTermination, KeyEnableBackChannelLogout, KeyLoginV2, KeyPermissionCheckV2, KeyManagementConsoleUseV2UserApi, KeyEnableRelationalTables}
|
||||
var _KeyValues = []Key{KeyUnspecified, KeyLoginDefaultOrg, KeyUserSchema, KeyImprovedPerformance, KeyDebugOIDCParentError, KeyOIDCSingleV1SessionTermination, KeyLoginV2, KeyPermissionCheckV2, KeyManagementConsoleUseV2UserApi, KeyEnableRelationalTables}
|
||||
|
||||
var _KeyNameToValueMap = map[string]Key{
|
||||
_KeyName_0[0:11]: KeyUnspecified,
|
||||
_KeyLowerName_0[0:11]: KeyUnspecified,
|
||||
_KeyName_0[11:28]: KeyLoginDefaultOrg,
|
||||
_KeyLowerName_0[11:28]: KeyLoginDefaultOrg,
|
||||
_KeyName_1[0:11]: KeyUserSchema,
|
||||
_KeyLowerName_1[0:11]: KeyUserSchema,
|
||||
_KeyName_2[0:20]: KeyImprovedPerformance,
|
||||
_KeyLowerName_2[0:20]: KeyImprovedPerformance,
|
||||
_KeyName_3[0:23]: KeyDebugOIDCParentError,
|
||||
_KeyLowerName_3[0:23]: KeyDebugOIDCParentError,
|
||||
_KeyName_3[23:57]: KeyOIDCSingleV1SessionTermination,
|
||||
_KeyLowerName_3[23:57]: KeyOIDCSingleV1SessionTermination,
|
||||
_KeyName_4[0:26]: KeyEnableBackChannelLogout,
|
||||
_KeyLowerName_4[0:26]: KeyEnableBackChannelLogout,
|
||||
_KeyName_4[26:34]: KeyLoginV2,
|
||||
_KeyLowerName_4[26:34]: KeyLoginV2,
|
||||
_KeyName_4[34:53]: KeyPermissionCheckV2,
|
||||
_KeyLowerName_4[34:53]: KeyPermissionCheckV2,
|
||||
_KeyName_4[53:87]: KeyManagementConsoleUseV2UserApi,
|
||||
_KeyLowerName_4[53:87]: KeyManagementConsoleUseV2UserApi,
|
||||
_KeyName_4[87:111]: KeyEnableRelationalTables,
|
||||
_KeyLowerName_4[87:111]: KeyEnableRelationalTables,
|
||||
_KeyName_0[0:11]: KeyUnspecified,
|
||||
_KeyLowerName_0[0:11]: KeyUnspecified,
|
||||
_KeyName_0[11:28]: KeyLoginDefaultOrg,
|
||||
_KeyLowerName_0[11:28]: KeyLoginDefaultOrg,
|
||||
_KeyName_1[0:11]: KeyUserSchema,
|
||||
_KeyLowerName_1[0:11]: KeyUserSchema,
|
||||
_KeyName_2[0:20]: KeyImprovedPerformance,
|
||||
_KeyLowerName_2[0:20]: KeyImprovedPerformance,
|
||||
_KeyName_3[0:23]: KeyDebugOIDCParentError,
|
||||
_KeyLowerName_3[0:23]: KeyDebugOIDCParentError,
|
||||
_KeyName_3[23:57]: KeyOIDCSingleV1SessionTermination,
|
||||
_KeyLowerName_3[23:57]: KeyOIDCSingleV1SessionTermination,
|
||||
_KeyName_4[0:8]: KeyLoginV2,
|
||||
_KeyLowerName_4[0:8]: KeyLoginV2,
|
||||
_KeyName_4[8:27]: KeyPermissionCheckV2,
|
||||
_KeyLowerName_4[8:27]: KeyPermissionCheckV2,
|
||||
_KeyName_4[27:61]: KeyManagementConsoleUseV2UserApi,
|
||||
_KeyLowerName_4[27:61]: KeyManagementConsoleUseV2UserApi,
|
||||
_KeyName_4[61:85]: KeyEnableRelationalTables,
|
||||
_KeyLowerName_4[61:85]: KeyEnableRelationalTables,
|
||||
}
|
||||
|
||||
var _KeyNames = []string{
|
||||
@@ -98,11 +95,10 @@ var _KeyNames = []string{
|
||||
_KeyName_2[0:20],
|
||||
_KeyName_3[0:23],
|
||||
_KeyName_3[23:57],
|
||||
_KeyName_4[0:26],
|
||||
_KeyName_4[26:34],
|
||||
_KeyName_4[34:53],
|
||||
_KeyName_4[53:87],
|
||||
_KeyName_4[87:111],
|
||||
_KeyName_4[0:8],
|
||||
_KeyName_4[8:27],
|
||||
_KeyName_4[27:61],
|
||||
_KeyName_4[61:85],
|
||||
}
|
||||
|
||||
// KeyString retrieves an enum value from the enum constants string name.
|
||||
|
||||
Reference in New Issue
Block a user