-
Run
cp .env.template .env
to create your own env variables -
Setup ngrok for tunneling
- Run
ngrok http 3000
and copy the hostname toREACT_APP_HOSTNAME
in 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 tokens
andID 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 manifest
to create the teams app manifest zip file under./manifest/package
. You will upload this in teams to install your app. -
Run
yarn run start
to start the server and client
-
Notifications
You must be signed in to change notification settings - 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