Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Authentication Listener on App #6516

Open
cmelchior opened this issue Apr 20, 2023 · 3 comments
Open

Feature: Authentication Listener on App #6516

cmelchior opened this issue Apr 20, 2023 · 3 comments

Comments

@cmelchior
Copy link
Contributor

In Realm Java and Realm Kotlin we expose an "Authentication Listener" on the App instance which makes it possible to listen to authentication changes like "LoggedIn", "LoggedOut" and "Removed" across all users.

We have implemented this in the SDK layer, but it would be nice to move it to ObjectStore for two reasons:

  • It would make it easier for other SDK's to implement it.
  • It would allow us to also be able to correctly report a "LoggedOut" event when the refresh token expires. Currently, this is not something we can track at the SDK layer, so we cannot report an event in this case.
@kiburtse
Copy link
Contributor

Is there some input from other sdks which can directly benefit from this soon?

@cmelchior
Copy link
Contributor Author

There are also feature requests from Dart here: #6497

@nirinchev
Copy link
Member

This has also been requested by .NET. Currently we have notifications in Core that the user changes, but not what exactly changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants