passportxyz / passport

Passport allows users to prove their identity through a secure, decentralized UI
Other
973 stars 455 forks source link

Verify GitHub Membership and Deduplicate Stamp Claims - IAM Updates #2787

Open erichfi opened 2 months ago

erichfi commented 2 months ago

User Story:

As a User of a custom dashboard, I want to verify my GitHub membership via OAuth, So that I can claim the custom GitHub stamp if I meet the criteria.

Acceptance Criteria

GIVEN a user understands the criteria for a custom GitHub stamp, WHEN they choose to verify their GitHub membership, THEN the system should initiate OAuth authentication with GitHub, and if the user meets the criteria, award the stamp.

GIVEN a user has already claimed a custom GitHub stamp, WHEN they attempt to claim the same stamp again, THEN the system should recognize the duplicate attempt and prevent multiple Passports from getting the points, ensuring that only one time the points get awarded per user.

Product & Design Links:

N/A

Tech Details:

Open Questions:

Notes/Assumptions:

nutrina commented 1 month ago

API to use:

  1. check org members: