Create an OAuth 2.0 client for authorization code grant type
Learn how to create an OAuth 2.0 client using the authorization code grant type in the OneID portal.
- Click your avatar in the upper right of the OneID portal and then click Settings . The Settings page opens.
- Click Manage OAuth 2.0 Clients .
- On the Manage OAuth 2.0 Clients page, click New . The New OAuth 2.0 Client window opens.
- Specify the following fields:
-
Name : Enter a name for the client.
-
Type : Select Authorization Code Grant Type from the dropdown list.
-
App Name : Unique identifier of the Okta app that appears in the App Embed link.
-
Idp Provider : Select your IdP from the dropdown list.
-
Scopes : Select the authorization scope from the dropdown list.
-
- Click Save . After the client is created successfully, a window with the client ID and client secret opens.
- Note down the client ID and client secret. This is the only time you can see the client secret. Your IdP needs them to request authorization codes and access tokens for the OneID SCIM API.