Skip to content

SingIn event triggered more that once #351

Description

@rido-min

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions