Concept Flow - JWT token creation
Start
Prepare payload data
Encode payload with secret key and algorithm
Generate JWT token string
Return token to user
End
This flow shows how a JWT token is created by preparing data, encoding it with a secret, and returning the token string.