curved-fountain-46946
05/22/2023, 11:49 AMlogin.Flow.Active is unset, and thereby omitted. I'm not sure how a flow can get into a state where the CredentialsType is not set, particularly since this is in the "after" hook - but it results in the jsonnet parser failing because the field does not exist (in the json body that is, it's annotated with omitempty).
So, 1: How can a login flow even get into a state where there is no credentials type?
and 2: Is the entire field meant to be optional, since it's 'omitempty'?
For clarification, we use that field in our validation logic, since there are different things to validate depending on what login type is used 🙂.