ForgeRock
Team
ping-javascript-sdk
Sign in / Sign up
Open main menu
ping-javascript-sdk
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Failed
566
1e394593 feat: SSR compatibility for journey-client and oidc-client (PoC) Make journey-client and oidc-client importable and usable in Node.js/SSR environments by eliminating eager browser global references and decoupling PKCE generation from sessionStorage. Storage: Replace eager sessionStorage/localStorage references with lazy globalThis access via getBrowserStorage(). Add configurable storage option to JourneyClientConfig so SSR callers can provide a custom noop adapter. PKCE: Decouple generation from storage — createAuthorizeUrl now returns { url, verifier, state } instead of writing to sessionStorage. Callers persist PKCE values however they choose (cookies, server session, etc.). Token exchange accepts optional pkceValues parameter to skip sessionStorage. Guard redirect() with typeof window check for server environments. Export createJourneyObject for client-side step reconstitution. SvelteKit PoC in e2e/svelte-app demonstrates the full flow: server-side journey start, client-side credential submission, server-side PKCE authorize URL generation with cookie-based verifier persistence, and server-side token exchange against the AM mock API.
1 day ago
by Ryan Bas
R
Previous page
Previous
Next
Next page