We have a process, using the SDK, that is as follows:
- new user = await client.Users.CreateUserAsync - where the Active is set to fasle.
- newUser.Profile changes
- newUser.UpdateAsync()
- Add user to various groups using client.Groups.AddUserToGroupAsync
- newUser.ActivateAsync(true);
This last set use in the Okta org to send the invitation email.
The problem is the link in the email when click notifies the new user the Token has expired.
Can anyone explain this and what should be done to fix this?