Skip to content

Commit 740834d

Browse files
UN-3398 [FIX] Fix SharePoint OAuth multi-tenant auth and duplicate OAuth button (#1912)
sharepoint tenent prod issue fixed
1 parent 345e920 commit 740834d

3 files changed

Lines changed: 0 additions & 11 deletions

File tree

backend/backend/settings/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,6 @@ def filter(self, record):
627627
"GOOGLE_OAUTH2_SECRET",
628628
"AZUREAD_TENANT_OAUTH2_KEY",
629629
"AZUREAD_TENANT_OAUTH2_SECRET",
630-
"AZUREAD_TENANT_OAUTH2_TENANT_ID",
631630
]:
632631
exec(f"SOCIAL_AUTH_{key} = os.environ.get('{key}')")
633632

backend/sample.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ GOOGLE_OAUTH2_SECRET=
5656
# Microsoft sharepoint oauth
5757
AZUREAD_TENANT_OAUTH2_KEY=
5858
AZUREAD_TENANT_OAUTH2_SECRET=
59-
AZUREAD_TENANT_OAUTH2_TENANT_ID=
6059

6160
# User session
6261
SESSION_EXPIRATION_TIME_IN_SECOND=7200

frontend/src/components/input-output/configure-ds/ConfigureDs.jsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -387,15 +387,6 @@ function ConfigureDs({
387387
</Popover>
388388
</div>
389389
)}
390-
{!isLoading && oAuthProvider?.length > 0 && (
391-
<OAuthDs
392-
oAuthProvider={oAuthProvider}
393-
setCacheKey={handleSetCacheKey}
394-
setStatus={handleSetStatus}
395-
selectedSourceId={selectedSourceId}
396-
isExistingConnector={isExistingConnector}
397-
/>
398-
)}
399390
<RjsfFormLayout
400391
schema={spec}
401392
formData={formData}

0 commit comments

Comments
 (0)