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

fix: remove proofOfOwnership from unathorizedRequest #269

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

dawidsowardx
Copy link
Contributor

@dawidsowardx dawidsowardx commented Oct 22, 2024

Proof Of Ownership can only be part of authorized request.

Example proof of ownership interaction

 {
     interactionId: 'f3247646-6efe-4670-a175-e69dff5a7169',
     interaction: 
      {
        items: 
         {
           discriminator: 'authorizedRequest',
           auth: 
            {
              discriminator: 'usePersona',
              identityAddress: 'identity_tdx_2_12f0rqnrmvqfh0uq337hlzthm9z9xjqwl92js0ptrlapnyc3ewrvu2x' 
            },
           reset: 
            {
              accounts: false,
              personaData: false 
            },
           proofOfOwnership: 
            {
              challenge: 'ab191a8b287dcf901613897de4f7dd475af8e665d0b0e668ea90b52bbd07b583',
              accountAddresses: 
               [
                 'account_tdx_2_128t9g985y4uje99er3zkm2gngxcen2cwg7m8zn32ux4smh37ydp5n6' 
               ],
              identityAddress: 'identity_tdx_2_12f0rqnrmvqfh0uq337hlzthm9z9xjqwl92js0ptrlapnyc3ewrvu2x' 
            } 
         },
        interactionId: 'f3247646-6efe-4670-a175-e69dff5a7169',
        metadata: 
         {
           version: 2,
           dAppDefinitionAddress: 'account_tdx_2_12yf9gd53yfep7a669fv2t3wm7nz9zeezwd04n02a433ker8vza6rhe',
           networkId: 2,
           origin: 'http://localhost:5173' 
         } 
      },

Proof Of Ownership can only be part of authorized request
Copy link

Phylum Report Link

Copy link

Docker tags
docker.io/radixdlt/connect-button-storybook:sha-e193fa7
docker.io/radixdlt/connect-button-storybook:pr-269

@dawidsowardx dawidsowardx merged commit 38208e7 into develop Oct 22, 2024
16 checks passed
Copy link

🎉 This PR is included in version 2.2.0-dev.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dawidsowardx dawidsowardx deleted the authorized-pow-request branch October 22, 2024 14:55
Copy link

🎉 This PR is included in version 2.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants