-
Run
cp .env.template .envto create your own env variables -
Setup ngrok for tunneling
- Run
ngrok http 3000and copy the hostname toREACT_APP_HOSTNAMEin your .env file
- Run
-
Register your app in Azure Active Directory
-
Go to Azure Portal, then Azure Active Directory > App Registration and select New Registration.
-
Fill the details to register an app:
- give a name to your application
- select Accounts in any organizational directory as an access level
- place auth-popup-url as the redirect url
https://xxxxxxxxxxxx.ngrok.io/auth.html - select Register
-
Go to Authentication tab and enable Implicit grant by selecting
Access tokensandID tokens -
Go to API permissions tab, select Add a permission > Microsoft Graph > Delegated permissions and add
User.Read,People.Read,User.ReadBasic.All,Chat.ReadBasic,Chat.Read,Chat.ReadWrite -
Then, select Grant admin consent.
-
Go to Overview tab and copy Application (client) ID and add it to your .env file as
REACT_APP_CLIENT_ID -
Go to Certificates & Secrets and create a new Client Secret. Then copy the secret to your .env file as
CLIENT_SECRET
-
-
Fill out the rest of the .env variables
-
Run
yarn install -
Run
gulp manifestto create the teams app manifest zip file under./manifest/package. You will upload this in teams to install your app. -
Run
yarn run startto start the server and client
-
Couldn't load subscription status.
- Fork 0
armanrahman22/grid-chat
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
