realm-kotlin icon indicating copy to clipboard operation
realm-kotlin copied to clipboard

Provide notification event when switching user

Open rorbech opened this issue 1 year ago • 1 comments

Problem

With #1813 we introduced the ability to switch user, but there is currently no way to listen for updates to the current users.

Solution

We could expose this as an AuthenticationChange-event.

Alternatives

Alternatively we could expose Core's generic app->subscribe mechanism as for JS to signal that something changed and let the user have to examine the current user themselves.

How important is this improvement for you?

I would like to have it but have a workaround

Feature would mainly be used with

Atlas App Services: Auth or Functions etc

rorbech avatar Aug 09 '24 09:08 rorbech