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

WAL-703 : web3 based auth #837

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open

WAL-703 : web3 based auth #837

wants to merge 40 commits into from

Conversation

SuperBatata
Copy link
Contributor

@SuperBatata SuperBatata commented Nov 28, 2024

Description

A new auth method in authnz based on web3 keys

Type of Change

  • bug fix - change which fixes an issue
  • new feature - change which adds functionality

Checklist

  • code cleanup and self-review
  • unit + e2e test coverage
  • documentation updated accordingly

Breaking

  • -

@SuperBatata SuperBatata changed the title feat: web3 based auth WAL-703 : web3 based auth Nov 28, 2024
@SuperBatata SuperBatata self-assigned this Nov 28, 2024
@philpotisk philpotisk requested a review from waltkb January 7, 2025 09:45
@SuperBatata SuperBatata marked this pull request as ready for review January 15, 2025 15:19
console.log("open web3");
alert("Not supported in this version.");
async function openWeb3() {
const response = await fetch("http://localhost:7001/auth/account/web3/nonce", { method: "GET" });
Copy link
Contributor

Choose a reason for hiding this comment

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

http://localhost:7001

console.log("Signature:", signature);
const verificationResponse = await fetch("http://localhost:7001/auth/account/web3/signed", {
Copy link
Contributor

Choose a reason for hiding this comment

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

http://localhost:7001

@@ -81,7 +84,7 @@ object Db {

SchemaUtils.drop(*(tables.reversedArray()))
SchemaUtils.create(*tables)

SchemaUtils.create(AuthnzUsers, AuthnzAccountIdentifiers, AuthnzStoredData)
Copy link
Contributor

Choose a reason for hiding this comment

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

if FeatureManager.isFeatureEnabled FeatureCatalog.authnzFeature

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