You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation for using Clerk with Triplit (https://www.triplit.dev/docs/auth/clerk#add-the-clerk-token-to-your-triplit-client), we set the client refreshHandler to Clerk's getToken function. But, getToken() returns a promise which may be null, whereas Triplit requires the promise to always return a string. Since this is in the documentation, I figured something needed updating.
The text was updated successfully, but these errors were encountered:
In the documentation for using Clerk with Triplit (https://www.triplit.dev/docs/auth/clerk#add-the-clerk-token-to-your-triplit-client), we set the client
refreshHandler
to Clerk'sgetToken
function. But,getToken()
returns a promise which may be null, whereas Triplit requires the promise to always return a string. Since this is in the documentation, I figured something needed updating.The text was updated successfully, but these errors were encountered: