Creating a Custom OAuth App
You can use a custom OAuth app to authenticate a service account or a user account.
When to Create a Custom OAuth App
Web Applications
You need to create a custom OAuth app in the web flow.Desktop Applications
Creating a custom OAuth app is optional as the driver is already registered with Instagram and you can connect with its embedded credentials. You might want to create a custom OAuth app to change the information displayed when users log into the Instagram OAuth endpoint to grant permissions to the driver.Headless Machines
Creating a custom OAuth app is optional to authenticate a headless machine; the driver is already registered with Instagram and you can connect with its embedded credentials. In the headless OAuth flow, users need to authenticate via a browser on another machine. You might want to create a custom OAuth app to change the information displayed when users log into the Instagram OAuth endpoint to grant permissions to the driver.Create an OAuth App for User Account Authentication
Follow the procedure below to register an app and obtain the OAuthClientId and OAuthClientSecret.
Create a Custom OAuth App: Desktop
- Log into the Google API Console and open a project. Select the API Manager from the main menu.
- In the user consent flow, click Credentials > Create Credentials > OAuth Client Id. Then click Other.
- After creating the app, the OAuthClientId and OAuthClientSecret are displayed.
- Click Library > BigQuery API > Enable API.
Create an OAuth App for Service Account Authentication
Follow the steps below to create an OAuth application and generate a private key.
- Log into the Google API Console and open a project. Select the API Manager from the main menu.
- Click Create Credentials > Service Account Key.
- In the Service Account menu, select New Service Account or select an existing service account.
- If you are creating a new service account, additionally select one or more roles. You can assign primitive roles at the project level in the IAM and Admin section; other roles enable you to further customize access to Google APIs.
- In the Key Type section, select the JSON key type.
- Create the app to download the key file.
- Click Library > BigQuery API > Enable API.