Developer Portal

Add "Sign in with
Network Coin" to your app.

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/sdk

Get started in 4 steps

From zero to "Sign in with Network Coin" in under 5 minutes.

1

Register your app

Create an app in the Console to get your client_id and set your redirect URIs.

2

Install the SDK

npm install @networkcoin/sdk — or use any standard OIDC library like NextAuth.

3

Add the provider

Wrap your app with NetworkCoinProvider, passing your client_id and redirect URI.

4

Use the hook

Call useNetworkCoin() to get login, signup, logout, user, and isAuthenticated. Done.


Sign in + sign up in 15 lines

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.

app.tsx
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>
  );
}

Standards-compliant endpoints

Works with any OIDC library. Auto-discovery supported.

GET/oauth/authorize
POST/oauth/token
GET/oauth/userinfo
POST/oauth/revoke
GET/oauth/logout
GET/.well-known/openid-configuration
GET/.well-known/jwks.json
Full API Documentation →

Works with any OIDC library

Not 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


Built for the post-quantum era

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


Start building today

Free for developers. Create an account, register your app, and integrate in minutes.