Check the "scopes" configuration of your authorization server, and verify there is a scope called
groups. If not, add a scope named
OKTA add groups scope example. In Security -> API -> Authorization servers -> Choose Server -> Scopes
Example creating new "Web" application in OKTA
Example app settings in OKTA
We will need to configure your SSO provider to send over the user's groups assignments after a successful login.
The following example shows how to pass through groups with prefix appetize_* as a groups claim within OKTA. This can be done by adding the groups claim to your authorization server at API -> Authorization Servers. For some OKTA clients, this can also be done under the "Sign On" section in your app's configuration, where you can add groups the same way.
Example including appetize_* group assignments claim in OKTA
1. We will need the "Client ID" and "Client secret" for the app you just created.
Credentials to provide to Appetize.io
In OKTA, this is available in Security -> API -> Authorization servers -> Choose Server.
If the metadata endpoint is not available, you may also specify the required fields below: