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

feat(iam, app): adds Bright Id Stamp #126

Merged
merged 1 commit into from
Jun 1, 2022
Merged

feat(iam, app): adds Bright Id Stamp #126

merged 1 commit into from
Jun 1, 2022

Conversation

farque65
Copy link
Contributor

@farque65 farque65 commented May 31, 2022

  • adds BrightId verification steps on iam server failure
  • adds toast messages
  • adds procedures to verify and sponsor a user with BrightId
  • Added BRIGHTID_PRIVATE_KEY to Review, Staging and Production AWS Secret Managers

Closes #1

app/components/ProviderCards/BrightidCard.tsx Outdated Show resolved Hide resolved
app/components/ProviderCards/BrightidCard.tsx Show resolved Hide resolved
app/config/providers.ts Outdated Show resolved Hide resolved
app/context/userContext.tsx Outdated Show resolved Hide resolved
iam/package.json Show resolved Hide resolved
iam/src/procedures/brightid.ts Outdated Show resolved Hide resolved
iam/src/procedures/brightid.ts Outdated Show resolved Hide resolved
types/src/brightid.d.ts Outdated Show resolved Hide resolved
yarn.lock Outdated Show resolved Hide resolved
Copy link
Contributor

@shavinac shavinac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not blocking, but it seems like the new ed25519-related dependencies in app/package.json aren't used anymore?

@farque65
Copy link
Contributor Author

farque65 commented Jun 1, 2022

ed25519

This is a quick change. I just pushed changes to resolve this

export const SUCCESFUL_BRIGHTID_RESULT: VerifiableCredentialRecord = {
record: {
type: "Brightid",
address: "0xcF323CE817E25b4F784bC1e14c9A99A525fDC50f",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a real address?

Copy link
Contributor Author

@farque65 farque65 Jun 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No

Copy link
Contributor

@gdixon gdixon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think my comments are mostly on test files with the exception of the selfID.id comments -

I have some changes going in shortly which should ensure that the userDid is the users did:pkh - so I think we can go ahead and merge this and fix everything up in my PR.

app/__test-fixtures__/verifiableCredentialResults.ts Outdated Show resolved Hide resolved
app/context/userContext.tsx Outdated Show resolved Hide resolved
iam/__tests__/brightid.test.ts Outdated Show resolved Hide resolved
- adds BrightId verification steps on iam server failure
- adds toast messages
- adds procedures to verify and sponsor a user with BrightId

Closes #1
@gdixon gdixon merged commit e725609 into main Jun 1, 2022
@farque65 farque65 deleted the brightid-stamp-wip branch June 1, 2022 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🎫 [STAMPS] As a Passport Holder, I can add a BrightID stamp to my passport
3 participants