Best practice for handling group ids over multiple instances

Knowledge Drop

Last tested: Aug 13, 2020
 

Say you have staging/dev/production instances and your group ids are different per instance.

The recommendation is to keep the names the same, then
1. run api call on group name to get group id, save as variable
2. add the group id variable to the sso embed url

No magic there. best you can do is query for all_groups then pick them out by name. or the app code could keep a mapping somewhere of all the names => id for every environment, so you don't have to keep looking it up

This content is subject to limited support.                

Version history
Last update:
‎06-03-2021 10:38 PM
Updated by: