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

Make Facebook and Google contracts #9

Open
nanaknihal opened this issue Mar 17, 2022 · 1 comment
Open

Make Facebook and Google contracts #9

nanaknihal opened this issue Mar 17, 2022 · 1 comment
Labels
good first issue Good for newcomers

Comments

@nanaknihal
Copy link
Owner

To do this, you just have to deploy a contract with different constructor arguments. You find e and n from the JWK-formatted public key of Facebook or Google. You will need to find the bottombread and topbread from an actual JWT -- see which characters always surround the credential of interest, e.g. email or facebook username, so that we can be sure anything sandwiched between them is the credential we are interested in.

@nanaknihal nanaknihal added the good first issue Good for newcomers label Mar 17, 2022
@nanaknihal
Copy link
Owner Author

Google done, not facebook. Facebook seemed to use HMAC?? Worth revisiting to try to find asymmetric signature for facebook, even if it means getting an access token

nanaknihal added a commit that referenced this issue Apr 17, 2022
Add check for bio contract in IdentityAggregator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant