You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed the demo to have a button for directly calling one of the exposed RPC like GET_CONNECTED_IDENTITY_DATA through calling client.getConnectedIdentity()
I did step (1) without going trough client.connect() which has the approval step.
I did get output showing the connected identity metadata.
How to resolve?
I think all the exposed APIs should be handling the Approval part internally inside the background script. Which means that all the RPC calls inside the Provider are protected from inside the extension.
Screenshot of the button Get Connected Identity
Screenshot of the output data after clicking on Get Connected Identity
The content you are editing has changed. Please copy your edits and refresh the page.
0xisk
changed the title
bug: provider APIs are not all wrapped through the approval
Bug provider APIs are not all wrapped through the approval
Oct 9, 2023
How to reproduce?
GET_CONNECTED_IDENTITY_DATA
through callingclient.getConnectedIdentity()
client.connect()
which has the approval step.How to resolve?
I think all the exposed APIs should be handling the Approval part internally inside the background script. Which means that all the RPC calls inside the Provider are protected from inside the extension.
Screenshot of the button
Get Connected Identity
Screenshot of the output data after clicking on
Get Connected Identity
Tasks
createIdentity()
,generateSemaphoreProof()
andgenerateRLNProof()
#897connect
,disconnect
and the ability to changeconnectedIdentity
#898The text was updated successfully, but these errors were encountered: