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 Initial SIWE support to taco-auth for Demo #526

Merged
merged 25 commits into from
Jun 5, 2024

Conversation

piotr-roslaniec
Copy link
Contributor

@piotr-roslaniec piotr-roslaniec commented Jun 4, 2024

Type of PR:

  • Bugfix
  • Feature
  • Documentation
  • Other

Required reviews:

  • 1
  • 2
  • 3

What this does:

This was an initial implementation of SIWE support used for the Ceramic demo. Post-demo, the implementation will be modified based on updated discussions/realizations, but these can be done in a separate PR. This is a good checkpoint to merge since we are simply merging into an EPIC branch and not directly into main.

Issues fixed/closed:

  • Fixes #...

Why it's needed:

Explain how this PR fits in the greater context of the NuCypher Network.
E.g., if this PR address a nucypher/productdev issue, let reviewers know!

Notes for reviewers:

What should reviewers focus on?
Is there a particular commit/function/section of your PR that requires more attention from reviewers?

Copy link

netlify bot commented Jun 4, 2024

Deploy Preview for taco-nft-demo ready!

Name Link
🔨 Latest commit 5aac7b6
🔍 Latest deploy log https://app.netlify.com/sites/taco-nft-demo/deploys/665efc2301bcc00008b12cc4
😎 Deploy Preview https://deploy-preview-526--taco-nft-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jun 4, 2024

Deploy Preview for taco-demo ready!

Name Link
🔨 Latest commit 5aac7b6
🔍 Latest deploy log https://app.netlify.com/sites/taco-demo/deploys/665efc2318607500080670ca
😎 Deploy Preview https://deploy-preview-526--taco-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@piotr-roslaniec piotr-roslaniec changed the base branch from main to epic-auth June 4, 2024 11:39
This was referenced Jun 5, 2024
@derekpierre derekpierre changed the title Add SIWE support to taco-auth Add Initial SIWE support to taco-auth Jun 5, 2024
piotr-roslaniec and others added 22 commits June 5, 2024 15:54
Co-authored-by: Piotr Roslaniec <p.roslaniec@gmail.com>
Modify some default values used for creating SIWE message, including use a random nonce.
…used tests to fail.

Co-authored-by: Manuel Montenegro <manuel@nucypher.com>
Fix the URI used for EIP4361 message to be properly formed - it caused an invalid SIWE message to be created.
…61 to be more accurate and in line with EIP712 auth signature call. This can perhaps be an interface/base class method in the future.

Run linter.
@derekpierre derekpierre marked this pull request as ready for review June 5, 2024 20:11
@derekpierre derekpierre changed the title Add Initial SIWE support to taco-auth Add Initial SIWE support to taco-auth for Demo Jun 5, 2024
Copy link
Member

@derekpierre derekpierre left a comment

Choose a reason for hiding this comment

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

🎸 - Good to merge this checkpoint of the code which was used for the Ceramic demo. It will be merged into the broader EPIC #527 where additional changes will be made based on feedback/discussions.

@piotr-roslaniec piotr-roslaniec merged commit c8100d8 into nucypher:epic-auth Jun 5, 2024
2 checks passed
@piotr-roslaniec piotr-roslaniec deleted the auth-siwe branch June 5, 2024 20:13
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.

3 participants