Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wictorwilen/teams-sso-tab-demo
Microsoft Teams SSO Tab demo, with an on-behalf-of flow to Microsoft Graph
https://github.com/wictorwilen/teams-sso-tab-demo
Last synced: 11 days ago
JSON representation
Microsoft Teams SSO Tab demo, with an on-behalf-of flow to Microsoft Graph
- Host: GitHub
- URL: https://github.com/wictorwilen/teams-sso-tab-demo
- Owner: wictorwilen
- Created: 2020-04-21T11:53:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T17:20:49.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T08:29:21.704Z (27 days ago)
- Language: TypeScript
- Size: 2.69 MB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Microsoft Teams SSO Tab demo
This is demo code for an SSO Tab. For full tutorial on how to configure the apps see
1. [Build a Tab with Single-Sign-On Support](https://github.com/pnp/generator-teams/wiki/Build-a-Tab-with-SSO-support)
2. [Microsoft Teams Tabs SSO and Microsoft Graph - the "on-behalf-of" blog post](http://www.wictorwilen.se/microsoft-teams-tabs-sso-and-microsoft-graph-the-on-behalf-of-blog-post)## The `.env` file
In order to get this demo to work you need to create and configure a `.env` file in the root folder. It should have the following contents:
```
# The domain name of where you host your application
HOSTNAME=
PORT=3007
NGROK_AUTH=
NGROK_SUBDOMAIN=
NGROK_REGION=
DEBUG=msteams graphRouterSSODEMO_APP_ID=
SSODEMO_APP_URI=
SSODEMO_APP_SECRET=```