Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 graphRouter

SSODEMO_APP_ID=
SSODEMO_APP_URI=
SSODEMO_APP_SECRET=

```