diff --git a/.changelog/1959.txt b/.changelog/1959.txt new file mode 100644 index 00000000000..a5ab17228e7 --- /dev/null +++ b/.changelog/1959.txt @@ -0,0 +1,3 @@ +```release-note:bug +access_application: fix scim configuration authentication json marshalling +``` \ No newline at end of file diff --git a/access_application.go b/access_application.go index 27f0c3f9195..b99f863f929 100644 --- a/access_application.go +++ b/access_application.go @@ -121,6 +121,10 @@ func (a *AccessApplicationScimAuthenticationJson) UnmarshalJSON(buf []byte) erro return json.Unmarshal(buf, a.Value) } +func (a *AccessApplicationScimAuthenticationJson) MarshalJSON() ([]byte, error) { + return json.Marshal(a.Value) +} + type AccessApplicationScimAuthentication interface { isScimAuthentication() }