After a successful OAuth flow, the event signin is triggered multiple times.
|
app.event('signin', async ({ send, userGraph, token }) => { |
|
const me = await userGraph.call(endpoints.me.get); |
|
await send(`user "${me.displayName}" signed in. Here's the token: ${JSON.stringify(token)}`); |
|
}); |
based on the number of clients that are already receiving the OAuth card we will see more duplicated events.
After a successful OAuth flow, the event
signinis triggered multiple times.teams.ts/tests/graph/src/index.ts
Lines 41 to 44 in 9b8507d
based on the number of clients that are already receiving the OAuth card we will see more duplicated events.