Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: provisioning in app #4221

Merged
merged 217 commits into from
Dec 11, 2020
Merged
Show file tree
Hide file tree
Changes from 186 commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
86650d5
provision UI change
VanyLaw Sep 9, 2020
3bb17b0
add provision UI (client)
VanyLaw Sep 11, 2020
71bd774
server change to support provision
VanyLaw Sep 11, 2020
aa181a8
fix conflict when rebase main
VanyLaw Sep 14, 2020
507b88c
add provision UI (client)
VanyLaw Sep 11, 2020
ca38c18
fix conflict in api.ts
VanyLaw Sep 14, 2020
8fe756b
fix conflicts
VanyLaw Sep 14, 2020
e2fa911
add a login plugin as middleware to check the token
VanyLaw Sep 16, 2020
f6fd6a0
add azureResourceManager to manage provision
VanyLaw Sep 16, 2020
db844ca
change azure publish plugin to add provision feature
VanyLaw Sep 16, 2020
911c813
auth in client
VanyLaw Sep 16, 2020
5944144
Merge remote-tracking branch 'origin/main' into wenyluo/provision
VanyLaw Sep 16, 2020
dd1400b
add appinsight packages because of version not update in npmjs
VanyLaw Sep 16, 2020
21dd7c5
polish
VanyLaw Sep 16, 2020
7e85d9b
fix bug after merge main
VanyLaw Sep 16, 2020
409bd55
fix subscription getting issue in client
VanyLaw Sep 16, 2020
a0df1a2
add arm-appinsight build into azurePublish build
VanyLaw Sep 17, 2020
6bdde3a
fix lint
VanyLaw Sep 18, 2020
bc5ee62
add azure api utility class
Sep 22, 2020
f780fae
bring API calls into alignment with spec doc
benbrown Sep 22, 2020
9a843bb
clean up the web ui to get it slightly closer to the current designs
benbrown Sep 22, 2020
946f6c9
update to create resources to include toggle
benbrown Sep 23, 2020
a2dea53
Merge branch 'main' of https://github.com/microsoft/BotFramework-Comp…
benbrown Sep 23, 2020
758df33
add resource provider location api for differernt resource type
Sep 24, 2020
7ad89a9
add local file
benbrown Sep 24, 2020
8d54a46
Merge branch 'main' of https://github.com/microsoft/BotFramework-Comp…
benbrown Sep 24, 2020
73e8845
merge main
benbrown Sep 24, 2020
8463eea
locale file
benbrown Sep 24, 2020
1ff4b3b
refactor the azure provisioning to live inside the plugin
benbrown Sep 25, 2020
a70d68b
Merge branch 'main' of https://github.com/microsoft/BotFramework-Comp…
benbrown Sep 25, 2020
77a43bc
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
benbrown Sep 25, 2020
dcfc2e7
Merge branch 'benbrown/provision' into wenyluo/provision
benbrown Sep 25, 2020
ba2189d
mark globally scoped azure feature for deprecation
benbrown Sep 25, 2020
a5b7467
do some very very basic error handlign on the subscriber endpoint
benbrown Sep 25, 2020
d570081
add parts of sku checking, name checking
Sep 27, 2020
278dffb
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
Sep 27, 2020
5ce3ac4
Merge remote-tracking branch 'origin/main' into wenyluo/provision
VanyLaw Sep 27, 2020
67ea94b
add subtitle and separator in wizard
VanyLaw Sep 28, 2020
0939047
change location of azure provision util
Sep 28, 2020
55e5fda
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
Sep 28, 2020
fda008a
remove azureLogin plugin and polish UI
VanyLaw Sep 29, 2020
58c0ee5
remove azure api call in provision controller, make azure api call in…
VanyLaw Sep 29, 2020
bea92be
remove azure api call in client
VanyLaw Sep 29, 2020
9dc2195
Merge branch 'main' of https://github.com/microsoft/BotFramework-Comp…
benbrown Sep 29, 2020
3c27c95
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
benbrown Sep 29, 2020
dd6eaea
remove azureLogin in package.json
VanyLaw Sep 30, 2020
f97f366
reuse edit and add profile Dialog
VanyLaw Sep 30, 2020
7f9fbe9
merge main
VanyLaw Sep 30, 2020
becb731
split into two page
VanyLaw Sep 30, 2020
76718ff
big refactor on the internals of the azure provisioning process
benbrown Oct 1, 2020
777ba6d
finish the refactor of deploy process.
benbrown Oct 2, 2020
79bce8c
slight updates to handle blank environment value
benbrown Oct 5, 2020
16264c1
Standardize the mechanism used to track ongoing background processes …
benbrown Oct 7, 2020
cf08cd8
merge main, fix conflict
VanyLaw Oct 9, 2020
a49e3aa
merge main
VanyLaw Oct 10, 2020
f3d5718
add qna provision to azureProvisionManager.ts
Oct 10, 2020
cf83022
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
Oct 10, 2020
b6027a4
add bundleId
VanyLaw Oct 12, 2020
86127f6
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
VanyLaw Oct 12, 2020
de3df2b
add notification
VanyLaw Oct 12, 2020
2b44272
Update localpublish to report its status in the slightly new format
benbrown Oct 12, 2020
a30cb21
add ui preview list api
Oct 13, 2020
f01647e
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
Oct 13, 2020
5853861
change accoutName param to name
Oct 13, 2020
9896379
add azure functions provision
Oct 13, 2020
a59d9e1
add provision detail page
VanyLaw Oct 14, 2020
e428f46
update locale file:
VanyLaw Oct 14, 2020
4c8ecb7
merge main
VanyLaw Oct 14, 2020
de54e4f
add jsonEditor in plugin ui
VanyLaw Oct 14, 2020
bd1ec4c
remove botservice and use package in npmjs instead
VanyLaw Oct 15, 2020
c0b0575
refactor the resource list a tiny bit so it comes from the server not…
benbrown Oct 15, 2020
ced9b3c
fix issue
benbrown Oct 15, 2020
212a0f8
clean up duplicate provision config
Oct 16, 2020
2eb8e4e
add icon for resources
VanyLaw Oct 16, 2020
8903fea
add provisionStatus state in botState, and remove provisionState and …
VanyLaw Oct 19, 2020
44156b9
enable notification update
VanyLaw Oct 20, 2020
07a92b7
remove azure package in server
VanyLaw Oct 21, 2020
1ba3f49
yarn.lock change
VanyLaw Oct 21, 2020
69cc0a7
update notification base on the same object
VanyLaw Oct 21, 2020
32925d2
first try in moving buttons out
VanyLaw Oct 22, 2020
6fda3a0
Revert "first try in moving buttons out"
VanyLaw Oct 23, 2020
37756aa
back button implement
VanyLaw Oct 23, 2020
a1a6f99
polish css
VanyLaw Oct 23, 2020
05c6d43
fix build
VanyLaw Oct 23, 2020
cecd8a5
change dialog title with the page change
VanyLaw Oct 23, 2020
69d3714
Merge branch 'main' into wenyluo/provision
a-b-r-o-w-n Oct 23, 2020
5dbed09
add option to force rebuild all extensions
a-b-r-o-w-n Oct 23, 2020
3c276e9
fix publish plugin api return values
a-b-r-o-w-n Oct 23, 2020
81a2174
update plugin with new extension apis
a-b-r-o-w-n Oct 23, 2020
27a7219
add schema in plugin json editor and add botservice package, remove a…
VanyLaw Oct 26, 2020
b6d363d
remove appinsight package
VanyLaw Oct 26, 2020
517bfbe
polish
VanyLaw Oct 27, 2020
57ba44f
polish UI
VanyLaw Oct 27, 2020
a11b77c
fix save import config
VanyLaw Oct 27, 2020
a5d7f2e
fix save issue in edit profile
VanyLaw Oct 27, 2020
99b9078
send the config back if provision success, and just provision the res…
VanyLaw Oct 28, 2020
a340b92
Merge branch 'main' of https://github.com/microsoft/BotFramework-Comp…
benbrown Oct 28, 2020
c8bb7e4
fix bundleId so azureFunctionsPublish works. add getType to extension…
benbrown Oct 28, 2020
82749ff
fix publishTarget update after provision
VanyLaw Oct 29, 2020
2b6e2ec
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
VanyLaw Oct 29, 2020
26a54a0
enable login in electron
tonyanziano Oct 22, 2020
c069ed5
fix build
VanyLaw Oct 30, 2020
9749d0c
fix UI overflow, modify provision message, fix page was freeze by log…
VanyLaw Oct 30, 2020
b2f926b
lock file change
VanyLaw Nov 2, 2020
3f4867c
merge main and fix conflict
VanyLaw Nov 2, 2020
de6b89b
cherry pick commit about getting two token by one pop up window
tonyanziano Nov 2, 2020
7cafae7
fix electron l10n error
VanyLaw Nov 3, 2020
f964b7a
fix build
VanyLaw Nov 4, 2020
c5e8dda
classify error message, create customized error
VanyLaw Nov 4, 2020
4742d11
finish error classify
VanyLaw Nov 4, 2020
0a2dc09
make sure the location for luis region is validated
VanyLaw Nov 5, 2020
80a9482
fix functions provision issue, polish review list column width
VanyLaw Nov 5, 2020
34b27ea
fix notification update and reshow after close current notification
VanyLaw Nov 5, 2020
a03393a
merge main and fix conflict
VanyLaw Nov 6, 2020
6669b52
persist notification log in file
VanyLaw Nov 6, 2020
76f3393
remove access token in publihs schema, fix bf-lu version in publish
VanyLaw Nov 10, 2020
31dbe17
add persona
VanyLaw Nov 10, 2020
1901be2
polish Persona
VanyLaw Nov 11, 2020
9f32e3a
add toggle in review list and make all resources be selected by default
VanyLaw Nov 12, 2020
6f6ba12
merge main and fix conflict
VanyLaw Nov 13, 2020
210116c
add luis region dropdown
VanyLaw Nov 13, 2020
17a22ab
use botservice package in npmjs instead of self built
VanyLaw Nov 18, 2020
140893f
fix conflict in publish result type
VanyLaw Nov 18, 2020
ab191e2
merge main and fix conflict
VanyLaw Nov 18, 2020
73fc008
fix conflict
VanyLaw Nov 18, 2020
8efe12f
fix build conflict with pva
VanyLaw Nov 18, 2020
96c5530
make history and status api return the same structure object
VanyLaw Nov 20, 2020
db96df8
Merge remote-tracking branch 'origin/main' into wenyluo/provision
VanyLaw Nov 23, 2020
e3c1d47
update azure extension node build
VanyLaw Nov 23, 2020
9f0b04f
add default runtime identifier
Nov 24, 2020
ba7e8f6
finish web login
VanyLaw Nov 25, 2020
87b0d39
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
VanyLaw Nov 25, 2020
406b711
merge main
VanyLaw Nov 26, 2020
61a0cf9
fix build
VanyLaw Nov 26, 2020
0df707c
polish
VanyLaw Nov 26, 2020
14849b6
polish name check, adding webapp name check
VanyLaw Nov 27, 2020
0f9a89a
add user log out button
VanyLaw Nov 30, 2020
d3bfc3d
fix: add unit tests for wenyluo/provision branch (#5002)
Dec 1, 2020
29bdd62
call token api directly instead use msal
VanyLaw Dec 1, 2020
31c631f
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
VanyLaw Dec 1, 2020
bb7d2ee
yarn lock change
VanyLaw Dec 2, 2020
6735704
merge main and fix conflict
VanyLaw Dec 2, 2020
90af928
split ui test and node test
VanyLaw Dec 2, 2020
e6b0bd8
filter test file in build
VanyLaw Dec 2, 2020
41a6188
merge main and fix conflict
VanyLaw Dec 3, 2020
e33f6f5
link provision into settings page
VanyLaw Dec 3, 2020
a1375ed
merge main fix conflict
VanyLaw Dec 3, 2020
87ea208
polish ui
VanyLaw Dec 3, 2020
abad57f
fix data-Id warning in client
VanyLaw Dec 3, 2020
2a2ba36
fix time problem
VanyLaw Dec 3, 2020
1b9f0e8
Merge branch 'main' of https://github.com/microsoft/BotFramework-Comp…
benbrown Dec 3, 2020
897dab0
fix two issues
luhan2017 Dec 4, 2020
7e9f2ba
remove login in local publish
VanyLaw Dec 4, 2020
e21c33d
fix hostname and luisResource
VanyLaw Dec 4, 2020
5838e9f
fix qna location
VanyLaw Dec 4, 2020
40368e6
fix build error in mockRemotePublish and sample-ui-plugin extensions
VanyLaw Dec 4, 2020
d1a56c6
fix provision target only save in root project
VanyLaw Dec 4, 2020
f693eb8
fix logout bug and fix build
VanyLaw Dec 4, 2020
25ad188
merge main fix conflict
VanyLaw Dec 4, 2020
391bd40
add win-x64 into provision result
VanyLaw Dec 4, 2020
9655bb4
merge main fix conflict
VanyLaw Dec 4, 2020
6a8f4e6
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
benbrown Dec 4, 2020
46dca54
Merge remote-tracking branch 'origin/main' into wenyluo/provision
VanyLaw Dec 7, 2020
fea0e30
add give token dialog
VanyLaw Dec 7, 2020
b5ff271
fix bug
VanyLaw Dec 7, 2020
c040859
fix bug
VanyLaw Dec 7, 2020
a5cc363
merge main fix conflict
VanyLaw Dec 8, 2020
260f5fa
fix bug cause auth dialog
VanyLaw Dec 8, 2020
9b977b1
fix region bug
VanyLaw Dec 8, 2020
7b74652
fix logger bug and fix comment
VanyLaw Dec 8, 2020
dae3a05
Merge remote-tracking branch 'origin/main' into wenyluo/provision
VanyLaw Dec 8, 2020
4746790
fix lint
VanyLaw Dec 8, 2020
4b3a952
fix ut
VanyLaw Dec 8, 2020
aea4ac6
Update webpack.config.js
luhan2017 Dec 9, 2020
065c5c2
Revert "Update webpack.config.js"
VanyLaw Dec 9, 2020
c1eba6a
Revert "Update webpack.config.js"
luhan2017 Dec 9, 2020
f2b9d16
change webpack and package.json
VanyLaw Dec 9, 2020
84a76f4
fix conflict
VanyLaw Dec 9, 2020
9eb1121
remove annotation
VanyLaw Dec 9, 2020
597c3b3
merge main fix conflict
VanyLaw Dec 9, 2020
10f570b
fix webpack
VanyLaw Dec 9, 2020
8c37739
fix comments
VanyLaw Dec 9, 2020
857445c
remove unnecessary this in function calling
Dec 9, 2020
d4f8515
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
Dec 9, 2020
40f33a4
merge main fix conflict
VanyLaw Dec 9, 2020
9ddc8d0
remove publish page test now, and add it later
VanyLaw Dec 9, 2020
8bc60fa
merge main fix conflict
VanyLaw Dec 9, 2020
0fc24dd
fix lint
VanyLaw Dec 9, 2020
e18b1a9
refactor publish profile dialog
VanyLaw Dec 10, 2020
85815e6
polish
VanyLaw Dec 10, 2020
3ed7a8c
fix lint
VanyLaw Dec 10, 2020
3e1854f
minor refresh time
VanyLaw Dec 10, 2020
532fc86
merge main fix conflit
VanyLaw Dec 10, 2020
2859d1d
fix build
VanyLaw Dec 10, 2020
2438977
fix lint
VanyLaw Dec 10, 2020
fe83553
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
benbrown Dec 10, 2020
70084dd
add weblogin environment value into client
VanyLaw Dec 10, 2020
34f8981
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
benbrown Dec 10, 2020
472307a
Revert "Remove Orchestrator pdbs from Azure publish flow (#5275)"
taicchoumsft Dec 10, 2020
896c8f5
merge main
benbrown Dec 10, 2020
0618ef2
Merge branch 'main' of https://github.com/microsoft/BotFramework-Comp…
cwhitten Dec 10, 2020
f4ee8d1
Merge main, update status output during dpeloy
benbrown Dec 10, 2020
0c6f22f
Merge branch 'wenyluo/provision' of https://github.com/microsoft/BotF…
benbrown Dec 10, 2020
1034836
fix order of variables
benbrown Dec 10, 2020
66f79a5
Merge branch 'main' into wenyluo/provision
benbrown Dec 10, 2020
0782fa4
Merge branch 'main' into wenyluo/provision
cwhitten Dec 10, 2020
9f8b228
Merge remote-tracking branch 'origin/main' into wenyluo/provision
VanyLaw Dec 11, 2020
86812d9
unity the data structure come from status and history api call
VanyLaw Dec 11, 2020
79bea10
Merge remote-tracking branch 'origin/main' into wenyluo/provision
VanyLaw Dec 11, 2020
bfc7e2a
fix comments
VanyLaw Dec 11, 2020
0a98a80
polish
VanyLaw Dec 11, 2020
8a5c1a9
Merge remote-tracking branch 'origin/main' into wenyluo/provision
VanyLaw Dec 11, 2020
4315478
fix build
VanyLaw Dec 11, 2020
210c346
Merge remote-tracking branch 'origin/main' into wenyluo/provision
VanyLaw Dec 11, 2020
7516bec
Merge branch 'main' into wenyluo/provision
boydc2014 Dec 11, 2020
553dd48
fix conflict
boydc2014 Dec 11, 2020
43665c5
Merge branch 'main' into wenyluo/provision
cwhitten Dec 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 0 additions & 63 deletions Composer/cypress/integration/Publish.spec.ts

This file was deleted.

2 changes: 1 addition & 1 deletion Composer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@
"wait-on": "^5.2.0",
"wsrun": "^5.2.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const rootState = {
status: true,
rollback: true,
pull: true,
provision: true,
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion Composer/packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"@bfc/form-dialogs": "*",
"@bfc/indexers": "*",
"@bfc/shared": "*",
"@bfc/ui-shared": "*",
"@bfc/ui-plugin-composer": "*",
"@bfc/ui-plugin-cross-trained": "*",
"@bfc/ui-plugin-dialog-schema-editor": "*",
Expand All @@ -47,6 +46,7 @@
"format-message": "^6.2.3",
"format-message-generate-id": "^6.2.3",
"immer": "^5.2.0",
"jsonwebtoken": "^8.5.1",
"jwt-decode": "^2.2.0",
"lodash": "^4.17.19",
"office-ui-fabric-react": "^7.121.11",
Expand Down
100 changes: 100 additions & 0 deletions Composer/packages/client/src/components/Auth/AuthDialog.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

/** @jsx jsx */
import { jsx } from '@emotion/core';
import { DialogWrapper, DialogTypes } from '@bfc/ui-shared';
import formatMessage from 'format-message';
import { DialogFooter } from 'office-ui-fabric-react/lib/Dialog';
import { PrimaryButton, DefaultButton } from 'office-ui-fabric-react/lib/Button';
import { TextField } from 'office-ui-fabric-react/lib/TextField';
import { useCallback, useState } from 'react';

import storage from '../../utils/storage';
import { isTokenExpired } from '../../utils/auth';

export interface AuthDialogProps {
needGraph: boolean;
onDismiss: () => void;
next: () => void;
}
export const AuthDialog: React.FC<AuthDialogProps> = (props) => {
const [graphToken, setGraphToken] = useState('');
const [accessToken, setAccessToken] = useState('');
const [tokenError, setTokenError] = useState<string>('');
const [graphError, setGraphError] = useState<string>('');
const isAble = useCallback(() => {
if (!accessToken) {
return false;
} else if (tokenError) {
return false;
}

if (props.needGraph && (!graphToken || graphError)) {
return false;
}
return true;
}, [accessToken, graphToken]);

return (
<DialogWrapper
isBlocking
isOpen
dialogType={DialogTypes.CreateFlow}
subText={formatMessage(
'To perform provisioning and publishing actions, Composer requires access to your Azure and MS Graph accounts. Paste access tokens from the az command line tool using the commands highlighted below.'
)}
title={formatMessage('Provide access tokens')}
onDismiss={props.onDismiss}
>
<TextField
multiline
errorMessage={tokenError}
label={formatMessage('Provide ARM token by running `az account get-access-token`')}
placeholder={formatMessage('Paste token here')}
rows={4}
onChange={(event, newValue) => {
newValue && setAccessToken(newValue);
if (isTokenExpired(newValue || '')) {
setTokenError('Token Expire or token invalid');
} else {
setTokenError('');
}
}}
/>
{props.needGraph ? (
<TextField
multiline
errorMessage={graphError}
label={formatMessage(
'Provide graph token by running `az account get-access-token --resource-type ms-graph`'
)}
placeholder={formatMessage('Paste token here')}
rows={4}
onChange={(event, newValue) => {
newValue && setGraphToken(newValue);
if (isTokenExpired(newValue || '')) {
setGraphError('Token Expire or token invalid');
} else {
setGraphError('');
}
}}
/>
) : null}
<DialogFooter>
<DefaultButton text={formatMessage('Cancel')} onClick={props.onDismiss} />
<PrimaryButton
disabled={!isAble()}
text={formatMessage('Continue')}
onClick={() => {
props.onDismiss();
// cache tokens
storage.set('accessToken', accessToken);
storage.set('graphToken', graphToken);
props.next();
}}
/>
</DialogFooter>
</DialogWrapper>
);
};
34 changes: 34 additions & 0 deletions Composer/packages/client/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,18 @@ export const addSkillDialog = {
},
};

export const PublishProfileDialog = {
ADD_PROFILE: {
title: formatMessage('Add a publish profile'),
subText: formatMessage(
'Publish profile informs your bot where to use resources from. The resoruces you provision for your bot will live within this profile'
),
},
EDIT_PROFILE: {
title: formatMessage('Edit a publish profile'),
},
};

export const repairSkillDialog = (name: string) => {
return {
title: formatMessage('Link to this skill has been broken'),
Expand Down Expand Up @@ -337,6 +349,28 @@ export const QnABotTemplateId = 'QnASample';

export const nameRegex = /^[a-zA-Z0-9-_]+$/;

export const authConfig = {
// for web login
clientId: process.env.WEBLOGIN_CLIENTID,
scopes: [
'https://management.core.windows.net/user_impersonation',
'https://graph.microsoft.com/Application.ReadWrite.All',
],
tenantId: process.env.WEBLOGIN_TENANTID,
redirectUrl: process.env.WEBLOGIN_REDIRECTURL,
};

export const armScopes = {
scopes: ['https://management.core.windows.net/user_impersonation'],
targetResource: 'https://management.core.windows.net/',
};
export const graphScopes = {
scopes: ['https://graph.microsoft.com/Application.ReadWrite.All'],
targetResource: 'https://graph.microsoft.com/',
};

export const authUrl = `https://login.microsoftonline.com/${authConfig.tenantId}/oauth2/v2.0/authorize`;

export const triggerNotSupportedWarning = () =>
formatMessage(
'This trigger type is not supported by the RegEx recognizer. To ensure this trigger is fired, change the recognizer type.'
Expand Down
Loading