OAuth2 Integration
Overview
Bluvo’s OAuth2 integration enables your users to securely connect their exchange accounts without exposing raw API keys. Instead of handling sensitive credentials, your application simply receives encrypted wallet IDs, which Bluvo resolves internally with enterprise-grade encryption. This integration can be implemented at different levels of complexity, depending on your team’s needs and the amount of development effort you want to invest.Integration Levels
You can choose how “raw” or “abstracted” your integration should be:- REST API (lowest-level, raw implementation) Directly integrate against the REST API. Gives you full control, but requires implementing the entire flow yourself. Effort: ~3–4 weeks
- Server SDK Wraps the REST API and authentication into your chosen language (TypeScript, Go, Dart, Rust). Developers still need to build out the whole flow, so it can have some friction. Effort: ~3 weeks
- Client State Machine SDK + Server SDK You only need to build your Widget UI. A provided State Machine orchestrates the flow and error handling for you. Effort: ~5 days
-
React State Machine Library
The State Machine approach, already wrapped for React:
@bluvo/react
. Other frameworks (Svelte, React Native, Flutter, Vue) coming soon. Effort: ~24 hours - Vanilla JS Widget + Server SDK Provides an embeddable UI widget for the OAuth2 flow. Just plug it in, and pair it with the Server SDK for backend actions. Effort: ~24 hours
- Framework Widgets Prebuilt UI widgets for React, Svelte, Vue, Angular, React Native (Flutter coming soon). Effort: ~24 hours
Why This Matters
Regardless of which path you choose:- Users authenticate directly with their exchange, no raw API keys required.
- Developers work at the level they’re comfortable with, from raw APIs to plug-and-play widgets.
- Security stays consistent: wallet IDs replace sensitive tokens, with Bluvo managing encryption, refreshes, and compliance in the background.
Next Steps
Choose your integration level:Whitelabel (use your own branding):
- Explore our APIs: docs.bluvo.dev
- Server SDK:
@bluvo/sdk-ts
- React State Machine:
@bluvo/react
Widgets (prebuilt UI):
- Vanilla JS: @bluvo/widget-vanjs
- React: @bluvo/widget-react
- Svelte: @bluvo/widget-svelte
👉 This way, you can decide how much effort to invest in integration, from building everything yourself to going live in a day with prebuilt widgets.