diff --git a/selfservice/flow/login/sort.go b/selfservice/flow/login/sort.go index 011f07dc97fc..d306a1fdcf65 100644 --- a/selfservice/flow/login/sort.go +++ b/selfservice/flow/login/sort.go @@ -11,9 +11,9 @@ var ctx = context.Background() func sortNodes(n node.Nodes) error { return n.SortBySchema(ctx, node.SortByGroups([]node.Group{ + node.OpenIDConnectGroup, node.DefaultGroup, node.WebAuthnGroup, - node.OpenIDConnectGroup, node.PasswordGroup, node.TOTPGroup, node.LookupGroup,