OAuth2 API

OAuth2 allows you to use user credentials to hit apis utilizing the users login to retrieve data

Setup

In order to setup OAuth2 connections to third party APIs you will need to have the following values entered into your key value.

  1. Oauth2--[API-NAME]--ClientID

  2. Oauth2--[API-NAME]--ClientSecret

  3. Oauth2--[API-NAME]--TokenURL

  4. Oauth2--[API-NAME]--Scopes

  5. Oauth2--[API-NAME]--RefreshTokenURL

  6. Oauth2--[API-NAME]--AuthURL

EXAMPLE ZOOM Transcripts:

To create an oauth connection to zoom you will first need to create a new Zoom application with access to the correct scopes by going to https://marketplace.zoom.us/ and create a new application.

For this example the API Name will be Zoom and therefore your redirect url will use the following callback https://[Your AI RIsk Domain]/callback/Zoom

Note that the callback will allways use the format of callback/API Name

The api name is also the prefix in the configuration of your secrets

Add the following secrets to your key store on azure

Oauth2--Zoom--ClientID = [Your Client ID]

Oauth2--Zoom--ClientSecret = [Your Client Secret]

Oauth2--Zoom--Scopes = cloud_recording:read:list_user_recordings cloud_recording:read:list_user_recordings:admin

Oauth2--Zoom--TokenURL = https://zoom.us/oauth/token

Last updated