Skip to content

No web OAuth helper; only React Native ships a blessed adapter #261

Description

@jayeshbhole

Summary

There is no blessed web OAuth flow. useAuthenticateOAuth requires the integrator to hand-build a getSessionId + redirectUri adapter; only React Native ships a ready-made one (useAuthenticateOAuthWithExpoWebBrowser).

Details

On React Native, "Sign in with Google" is a one-liner via the Expo web-browser adapter. On the web there is no equivalent helper, so a web integrator has to implement the OAuth popup / redirect and session-id wiring themselves before useAuthenticateOAuth is usable.

This means a feature that's trivial inside wallet-react-kit is non-trivial for anyone building their own auth UI on wallet-react.

Ask

Ship a web OAuth helper analogous to useAuthenticateOAuthWithExpoWebBrowser (e.g. a popup/redirect adapter that supplies getSessionId + redirectUri), and document the end-to-end web OAuth flow.

Environment

@zerodev/wallet-react@0.0.1-alpha.26, web (Vite + React 19).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions