hackathon-cli-recommendation / cli-recommendation

4 stars 5 forks source link

[Auth] Add jwt verification for jwt #38

Closed wangzelin007 closed 1 year ago

wangzelin007 commented 1 year ago

JWT token will be verified according to the following rules:

  1. Is the app id in allowed list?
  2. Whether the token expires
  3. Whether the token comes from Azure Active Directory

image