Minor Changes
-
Add
navigateparameter toclerk.setActive()for custom navigation before the session and/or organization is set. (#6486) by @LauraBeatrisIt's useful for handling pending session tasks for after-auth flows:
await clerk.setActive({ session, navigate: async ({ session }) => { const currentTask = session.currentTask; if (currentTask) { await router.push(`/onboarding/${currentTask.key}`); return; } await router.push('/dashboard'); }, });
Patch Changes
- Introduce debugLogger for internal debugging support (#6452) by @jacekradko