Want to create user and assign that user to an application using terraform

i am able to create user in okta using terraform, but unable to add user to appliatiion via terraform. Has someone did it before.

Looks like you can assign the user to a group and then assign the group to the app using the Terraform provider.
https://registry.terraform.io/providers/okta/okta/latest/docs/resources/app_group_assignment