How to save user_id in to my database?

Hi @minh.d.nguyen2211,

Welcome to the Community!

If there is a failure the hook can retry.

Alternatively, when your backend can’t find a userID in the database, it could create a new user with the ID from the token.