Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Passport Service #701

Open
Buwujiu opened this issue May 9, 2023 · 0 comments
Open

Create a Passport Service #701

Buwujiu opened this issue May 9, 2023 · 0 comments
Assignees

Comments

@Buwujiu
Copy link
Contributor

Buwujiu commented May 9, 2023

Detailed Description

  1. parsePassport → return Passport object from content of Passport JWT (string)
  2. validatePassport (vs public key) → requires passportBroker config (to fetch public key)
  3. can we cache public keys for a period of time? (like a day) → dont need to constantly fetch them
  4. getVisas → return list of visa JWTs
  5. getPermissionsForPassport → return list of permissions from passport (compiled list of all permissions from all visas, remove duplicates)

Possible Implementation

@Buwujiu Buwujiu added new-feature Request is a new feature ITCR-Passport and removed new-feature Request is a new feature labels May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants