Skip to main content

SDK Playground

Using demo app: OSINT Analyzer Pro
Test session (0 tokens)

Instant sandbox session. No tokens charged.

Your session will appear here. Click Launch to start.

Activity Stream (0 requests)
// SDK Playground - Keycloak 26 + React
import { GWSessionProvider } from '@generalwisdom/sdk-react';

const config = {
  apiKey: 'gwsk_YOUR_API_KEY_HERE',
  provider: 'keycloak',
  providerConfig: {
    realm: 'gw-playground',
    clientId: 'playground-demo',
    url: 'https://auth.playground.generalwisdom.com',
  },
  session: {
    durationMinutes: 15,
  },
  sessionControls: {
      position: 'bottom-right',
  },
};

export default function App() {
  return (
    <GWSessionProvider config={config}>
      <YourApp />
    </GWSessionProvider>
  );
}