This page applies to Apigee and Apigee hybrid.
View
Apigee Edge documentation.
To participate in OAuth 2.0 flows on Apigee, client apps must be registered.
What is registration?
Registration allows Apigee (the authorization server) to uniquely identify your app. When you register your app, you receive back two keys: a client ID and client secret. The app needs these keys when negotiating for access tokens with the authorization server.
Quick steps
To register a new app, from the Apps page:
Apigee Cloud console
- In the Google Cloud console, go to the Distribution > Apps page.
- Click Create.
- Specify the App Details, as described in the following table:
Field Description Required? App Name Name of the app. You can't change the name once the app is created. This name is used in Apigee API calls. Required Display Name Display name for the app that appears in the Apigee UI and the developer portal. Optional Developer Select a developer name from the drop-down.
Note: For performance reasons, not all developers are displayed in the drop-down. Start typing the developer name or email in the search box, and the drop-down values are automatically refined to match the text you are typing. See also Register app developers.
Required Callback URL Typically specifies the URL of an app that is designated to receive an authorization code on behalf of the client app. This value is not required for all API products. Optional Notes Descriptive notes for the app. Optional - Specify the Credentials, including the API key expiration,
status, and the associated API products. In the
Credentials section, click
Field Description Expiry Select an expiration duration or date, or set the API key to never expire. Products Associate one or more API products with the API key: - Click Add products.
- Select one or more API products from list.
- Click OK.
- Click Add.
Add credential and enter the following information:
- Set the Status to Approved or Revoked for each API
product. If you added an API product
to the credential that requires manual approval, it will show
Pending approval status
. Otherwise, it will showApproved
. In this step, you can change the approval status.- From the list of Products in the Credentials section, select one or more products from the list.
- Click Approve or Revoke.
- Click Create.
- Find your new app in the list of developer apps and select it.
- Click to see the Key (client ID) and Secret (client secret) values.
Classic UI
- Access the Developer Apps page, as described below.
To access the Developer Apps page:
- Open the Apigee UI.
- Select Publish > Apps in the left navigation bar.
- Click + App
- Fill out the form:
- Enter a name and display name for the app.
- Select a developer (you can choose one of the default developers or create your own).
- (Optional) Enter a callback URL. This is used for "three-legged" OAuth grant type
flows. This is where Apigee redirects the user after they complete authentication
(login) with the resource server. It has to be a complete URL, so you might enter something
like
https://www.example.com
. For more about three-legged OAuth, see Implementing the authorization code grant type. - Add an API product. You can select an existing product or create your own.
- Skip the custom attributes section for now.
- Click Create.
- Find your new app in the list of developer apps and select it.
- Click Show to see the Consumer ID (client ID) and Consumer Secret (client secret) values.
More information
For a more detailed discussion of app registration, see Register apps and manage API keys. If you'd like to know more about the role of API products, see What is an API product?.