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

Boilerplate app does not authenticate to Storex Hub #9

Open
vslotman opened this issue Aug 17, 2021 · 0 comments
Open

Boilerplate app does not authenticate to Storex Hub #9

vslotman opened this issue Aug 17, 2021 · 0 comments

Comments

@vslotman
Copy link

I tried to play around with the boilerplate code a bit, but noticed that it does not authenticate with the Storex Hub.
There's a registerOrIdentify method in application.ts, but this is never used.

I tried adding this call to the initialization-code in main.ts, but then ran into a chicken-and-egg problem:

  • registerOrIdentify requires an initialized client.
  • Registering the callbacks needed for client initialization requires authentication. It gives me the following error:

    Could not subscribe to Memex storage changes (yet?): not-identified

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

1 participant