I am developing an user management application using Okta, Here I am using https://github.com/okta/okta-sdk-golang , latest version. I created an RESTR service where it involves creating a user and adding him to specific group. This is working fine. There is one more service where it is retreving users from the group. The list users are also working fine.
The problem that I am facing is immediately creating the new user I refreshed the group users where he got added. but he is not present in that group. After 1 to 2 minutes he will appear.
this is the code Iam using for listing the users from group.