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

Add dummy relying party #19

Merged
merged 5 commits into from
Jun 3, 2024
Merged

Add dummy relying party #19

merged 5 commits into from
Jun 3, 2024

Conversation

lmuntaner
Copy link
Collaborator

Motivation

Add a new project to the SDK: Dummy Relying party.

This project should help issuer install a relying party to test the e2e flow.

In this PR, I add the canister with the relying party.

In later PRs, we can style it better and expose the wasm from the Github actions on releases so that developers can install it the same way they install Internet Identity.

Changes

  • Create a Cargo project in the root.
  • Create a new canister within dummy-relying-party which is based on the custom assets example.
  • Add frontend assets to perform credential requests based on user input. (See video for more details)

Tests

I tested it with the Attendance project both in local replica and in mainnet.

Todos

  • Add entry to changelog (if necessary).

@lmuntaner
Copy link
Collaborator Author

UX:

Screen.Recording.2024-05-28.at.16.04.32.mov

@lmuntaner
Copy link
Collaborator Author

@frederikrothenberger no rush, but let me know what you think of this idea.

@lmuntaner lmuntaner marked this pull request as ready for review June 3, 2024 09:11
@lmuntaner
Copy link
Collaborator Author

@frederikrothenberger will you take a look when you have some time?

dummy-relying-party/src/lib.rs Show resolved Hide resolved
dummy-relying-party/frontend/src/main.ts Show resolved Hide resolved
dfx.json Outdated Show resolved Hide resolved
@lmuntaner lmuntaner merged commit bbcf520 into main Jun 3, 2024
6 checks passed
@lmuntaner lmuntaner deleted the lm-dummy-relying-party branch June 3, 2024 11:57
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.

2 participants