Hi guys,
My goal here is to add a user to a specific group based on their information from Okta.
My idea to accomplish this is to use the User Created Listener (hoping that this will be fired once a user is created on the instance level and not on the project Level) and use the user's email address to check on Okta the user country and based on the country I would add the user to different groups.
My questions are:
- Will the User created trigger be fired once a user is created on the instance?
- How can I get this user data using Scriptrunner on CLOUD?
- I am assuming that I can do all API calls using Scriptrunner, correct? Can you provide the structure of the API call?
Thanks!