Stateless authentication mechanism:

Flow

  1. Client → Login (credentials)
  2. Auth Server → Validate credentials
  3. Auth Server → Issue token
  4. Client → Store token
  5. Client → Send token with every request
  6. Resource Server → Validate token (not storing)
  7. Access granted