OAuth 2.1 + OIDC identity provider with blockchain wallet support. Full SDK, React hooks, and standard OIDC compatibility. Let users sign in or sign up directly from your app.
npm install @networkcoin/sdkFrom zero to "Sign in with Network Coin" in under 5 minutes.
Create an app in the Console to get your client_id and set your redirect URIs.
npm install @networkcoin/sdk — or use any standard OIDC library like NextAuth.
Wrap your app with NetworkCoinProvider, passing your client_id and redirect URI.
Call useNetworkCoin() to get login, signup, logout, user, and isAuthenticated. Done.
The SDK handles PKCE, state verification, token exchange, auto-refresh, and logout. Let users sign in or create a NetworkCoin ID directly from your app — like Google or Apple.
import { NetworkCoinProvider, useNetworkCoin }
from '@networkcoin/sdk/react';
function App() {
return (
<NetworkCoinProvider
clientId="your-client-id"
redirectUri="/callback"
scope="openid profile email wallet
offline_access subscription"
>
<AuthButtons />
</NetworkCoinProvider>
);
}
function AuthButtons() {
const { user, login, signup, logout, isAuthenticated }
= useNetworkCoin();
if (isAuthenticated) return (
<div>
<p>Welcome, {user?.name}!</p>
<p>Plan: {user?.subscription?.plan ?? 'Free'}</p>
<button onClick={() => logout()}>Sign out</button>
</div>
);
return (
<div>
<button onClick={login}>Sign in with Network Coin</button>
<button onClick={signup}>Sign up with Network Coin</button>
</div>
);
}Works with any OIDC library. Auto-discovery supported.
/oauth/authorize/oauth/token/oauth/userinfo/oauth/revoke/oauth/logout/.well-known/openid-configuration/.well-known/jwks.jsonNot using React? Point any OAuth2/OIDC client at our discovery endpoint.
NextAuth.js
Next.js
Auth.js
Any framework
Passport.js
Express
openid-client
Node.js
Authlib
Python
go-oidc
Go
Spring Security
Java
Custom
Any language
Production-grade security that prepares for tomorrow's threats.
PKCE Required
S256 on every auth request
RS256 + EdDSA
Post-quantum hybrid signing
Token Rotation
Refresh tokens rotate on use
Reuse Detection
Stolen tokens revoke all sessions
Per-IP + Per-Account
Dual-layer rate limiting
Non-Custodial
SIWE — we never touch keys
Immutable Audit
Every action logged
24h Key Grace
Zero-downtime rotation
Free for developers. Create an account, register your app, and integrate in minutes.