Is it possible to create a user and generate JWT instead of session

Original message was deleted