Skip to content

Latest commit

 

History

History

token

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Token Service 🎫

The service is responsible for ONLY validating the access token

Features 🚀

Token

  • Validate the access token

Flow 🌊

  • Token Validation
    • User sends the access token as grpc request to the token service.
    • Token service validates the access token.
    • Token validation takes in consideration the following:
      • Token is not expired
      • user's client-ip header matches the one stored in the token
      • user's user-agent header matches the one stored in the token
sequenceDiagram
    autonumber
    Service->>+Token Service: Send access token
    Token Service->>Token Service: Validate access token
    Token Service-->>-Service: Return UserID
Loading