From 92eed8ab2414409d99436048fda73c621cd78d33 Mon Sep 17 00:00:00 2001 From: Evgenia Karunus Date: Fri, 24 May 2024 04:57:19 +0400 Subject: [PATCH] onedrive.mdx - add instructions for setting up the oauth account --- docs/sources/companion-plugins/onedrive.mdx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/sources/companion-plugins/onedrive.mdx b/docs/sources/companion-plugins/onedrive.mdx index 499cddb3de..a58af32b39 100644 --- a/docs/sources/companion-plugins/onedrive.mdx +++ b/docs/sources/companion-plugins/onedrive.mdx @@ -100,7 +100,15 @@ If you are using Transloadit hosted Companion: https://api2.transloadit.com/companion/onedrive/redirect ``` -Microsoft will give you an OAuth client ID and client secret. +Go to the “Manifest” tab, and find the `"signInAudience"` key. +Change it to `"signInAudience": "AzureADandPersonalMicrosoftAccount"`, and click +“Save”. + +Go to the “Overview” tab. +Copy the `Application (client) ID` field - this will be your Oauth client ID. + +Go to the “Certificates & secrets” tab, and click “+ New client secret”. +Copy the `Value` field - this will be your OAuth client secret. Configure the OneDrive key and secret in Companion. With the standalone Companion server, specify environment variables: