tholsT
Convex Communityโ€ข4mo agoโ€ข
1 reply
thols

Custom state in JWT ?

In my expo app:

in the auth flow i check whether the user is verified or not

1. I don't want to show the loading state when checking
2. This check should also work on the offline mode without internet (so i thought JWT would be helpful here)
3. It should be secure - like user don't change something in local to get into the app when unverified

So i thought of including a custom state in the JWT token which is produced by the convex auth ! but i think it is not possible for now - i have to use the custom JWT provider to use that - but if i use like that can i get to use the other convex auth features like before ? like normal convex auth without changing anything ?


or any other ways ? ๐Ÿ™‚ Stuck here for a long time to find a reliable solution ! Thanks in advance
Was this page helpful?