@nyxids/oauth-core
v0.1.0
Published
NyxID OAuth core SDK with PKCE and token handling
Readme
@nyxids/oauth-core
Core OAuth SDK for NyxID.
Install
npm install @nyxids/oauth-coreUsage
import { NyxIDClient } from "@nyxids/oauth-core";
const client = new NyxIDClient({
baseUrl: "https://auth.example.com",
clientId: "your-client-id",
redirectUri: "https://app.example.com/auth/callback",
});
await client.loginWithRedirect();Publish
npm run prepublishOnly
npm publish