Concept Flow - JWT token generation and verification
Start
Create Payload
Sign Payload with Secret
Generate JWT Token
Send Token to Client
Client Sends Token Back
Verify Token with Secret
If Valid -> Access Granted
If Invalid -> Access Denied
This flow shows how a JWT token is created by signing data, sent to a client, then verified later to allow or deny access.