Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 2.22 KB

File metadata and controls

47 lines (40 loc) · 2.22 KB
topic products languages extensions
sample
Microsoft Teams
Office 365
Node.js
contentType technologies createdDate scenarios
samples
Connectors
12/04/2017 2:40:56 PM
Connect

GitHub Connector

This is an example to show how to write a connector for Microsoft Teams using GitHub's APIs. It is not the source code for the GitHub connector in Teams/Outlook/Yammer.

Prerequisites

  1. Register a new OAuth application at GitHub. Note the GitHub client id and secret.
  2. Download ngrok from https://ngrok.com/. Run the following command to setup a tunnel to localhost:3000 ngrok http 3000 Note the ngrok address, which looks something like https://013e0d3f.ngrok.io.
  3. Put the callback Url in the Oauth app as 'your-ngrok/auth/github/callback'.
  4. Replace the clientId,clientSecret,callbackUrl and serviceUrl in Default.json.

Configuration

  • Default configuration is in config\default.json

How to Run

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.