<DynamicContextProvider settings={{ events: { onAuthSuccess: (args) => { console.log('onAuthSuccess was called', args); // you can get the jwt by calling the getAuthToken helper function const authToken = getAuthToken(); console.log('authToken', authToken); } } }}> {/* ... rest of your app ... */}</DynamicContextProvider>