Skip to content

send posthog event when auth info changes #948

@shalom938

Description

@shalom938

the plugin send GLOBAL/SET_USER_INFO with user id to the ui whenever auth info changes, the user id is the user id returned from the backend on login and refresh.
it will help debugging if UI will send posthog event whenever the user id changes.
NOT on every message because there may be many messages sent with the same user id, only when user id changes,
from null to nonnull
from nonull to null
and a different user id

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions