Error: This app tried to connect to a canister on your behalf without the proper permissions
honopu opened this issue · comments
1. window.ic.plug.requestConnect();
2. window.ic.plug.createAgent({ whitelist: ["rd6wb-lyaaa-aaaaj-acvla-cai"], host: "https://ic0.app" })
3. window.ic.plug.createActor({ canisterId: xxxx, interfaceFactory: xxx });
Then call transfer method and throw error:
This app tried to connect to a canister (rd6wb-lyaaa-aaaaj-acvla-cai) on your behalf without the proper permissions. Please contact this project’s developers and share the error with them so they can fix it.
So the whitelist passed by createAgent is not working right now?
I have exactly the same problem since yesterday. If you know how to solve this problem please let me know!
I have exactly the same problem since yesterday. If you know how to solve this problem please let me know!
You can use window.ic.plug.requestConnect({ whitelist: ["all your canister ids"] })
Hi! This was fixed in the release 0.5.4.1 https://github.com/Psychedelic/plug/releases/tag/V0.5.4.1 closing the issue :D