Skip to content

Conversation

nikgraf
Copy link
Collaborator

@nikgraf nikgraf commented Jan 20, 2025

Until now we needed a component called DoGraphLogin that would run the login directly whenever it was mounted (basically every time).

Instead I was aiming for a flow where authentication of Privy and Hypergraph is only happening on the /login page and not implicitly. Unfortunately Privy doesn't provide the necessary APIs for a clean async/await flow, but I at least could manage to isolate the login logic to this page.

Next step:

  • combine the GraphLogin and GraphFramework provider

Demo video available here: https://geo-browser.slack.com/archives/C069PB8PCPN/p1737382476074349

@nikgraf nikgraf self-assigned this Jan 20, 2025
@nikgraf nikgraf force-pushed the ng/improve-auth-api branch from 0279e66 to 3cef29e Compare January 20, 2025 13:55
@nikgraf nikgraf force-pushed the ng/improve-auth-api branch from 3cef29e to 79ee5c2 Compare January 20, 2025 13:57
Copy link
Member

@pcarranzav pcarranzav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nikgraf nikgraf merged commit f70cd6a into main Jan 20, 2025
1 check passed
@nikgraf nikgraf deleted the ng/improve-auth-api branch January 20, 2025 20:23
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

Successfully merging this pull request may close these issues.

2 participants