Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reintroduce jwt property in 'session-created' event details #2108

Open
wants to merge 1 commit into
base: feat-js-flow-api-sdk
Choose a base branch
from

Conversation

bjoern-m
Copy link
Contributor

@bjoern-m bjoern-m commented Apr 1, 2025

Description

The jwt property was removed due to the 'periodic session check' feature. This PR reintroduces the jwt property to the 'hanko-session-created' event.

hanko.onSessionCreated({detail}) => {
  console.log("jwt", detail.jwt);
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

1 participant