Find a file
2026-06-09 12:21:24 +00:00
notes feat: get and save Teams + Skype Token 2021-04-06 18:22:58 +02:00
src fix: clean up menu navigation flow 2026-06-09 12:21:24 +00:00
.eslintrc.js initial commit 2021-04-03 15:29:02 +02:00
.gitignore initial commit 2021-04-03 15:29:02 +02:00
LICENSE add license 2021-04-14 22:51:11 +02:00
package.json add support for multi-tenant 2021-04-13 00:36:44 +02:00
README.md doc: explain commands 2021-04-13 01:06:22 +02:00
tsconfig.json initial commit 2021-04-03 15:29:02 +02:00
yarn.lock add support for multi-tenant 2021-04-13 00:36:44 +02:00

teams-token

A super simple Electron app that will save your Microsoft Teams tokens in ~/.config/fossteams/.

Instructions

yarn install
yarn start

Commands

Get your token

yarn start

Switch users

Warning: this operation doesn't delete / invalidate your token, but simply clears the cookies of the Electron browser.

yarn start logout

Get login URL

yarn start get-url

Note

Log-in with your Microsoft Teams account (your corprorate / school account) and let this app do the rest. If you don't trust putting your credentials in a random GitHub app, audit the code for yourself: we're basically using Electron to intercept Oauth redirections and storing the tokens on your computer.

The Microsoft Teams authentication flow is described here. We're getting the token that is passed to https://teams.microsoft.com/go.