Hi!
So I’m building a React app and I have a use case where I need to fetch all the available Groups related to an OKTA app.
Use case: we’ll use the groups as roles and an Admin will be able to set a group as the owner of a resource or set a role as having certain permissions to read/write a resource.
I would prefer not to use a static groups list and be able to fetch them on app initialization.
I’m making the request to fetch app groups from the browser and getting CORS errors.
I’ve gone through the documentation, and I see that for the Apps API is not possible to enable CORS.
Is there any other way of getting a list of groups for an app from the browser?
Thank you very much!!