Using Internet Identity inside sns-testing

Having trouble when using the internet identity canister that is installed when using the sns-testing repo vs when pulling it using dfx deps:

I’m trying to put together all the required steps for anyone to be able to run OpenFPL in it’s post sns state in the readme:

As you can see I’m not pulling deps for the IID canister as I thought the sns-testing repo handled it as post setup it’s definitely created the canister:

You need to wait until ./setup_locally.sh finishes, then the II canister should be up and running. (In your screenshot, there’s no code installed for the II canister.)

Yeah I definitely ran that during the setup process, it’s step 4 in my readme:

Ah is it because I need to set the local canister id in my dfx file?

since the sns-testing repo is creating the canisters do I need an internet identity entry in my dfx file?

So when I run setup_locally.sh I think it isn’t correctly installing the identity canister.

It’s in the list:

Hey, I’m still blocked on this. Is there anything I can try?

I did try removing the download for the internet identity to pull it later via deps but the setup_locally.sh didn’t like that:

Are you sure the wasm is being downloaded and installed correctly in the sns-testing repo?

In sns-testing, the II canister is installed under the following canister ID: qhbym-qaaaa-aaaaa-aaafq-cai. The NNS-dapp is installed under the following canister ID: qsgjb-riaaa-aaaaa-aaaga-cai:

Installing code for canister sns_aggregator, with canister ID qvhpv-4qaaa-aaaaa-aaagq-cai
Installing code for canister internet_identity, with canister ID qhbym-qaaaa-aaaaa-aaafq-cai
Installing code for canister nns-dapp, with canister ID qsgjb-riaaa-aaaaa-aaaga-cai
1 Like

Thanks mate, yeah that was it just updated my vite auth provider path in .env.local to

VITE_AUTH_PROVIDER_URL=http://localhost:8080/?canisterId=qhbym-qaaaa-aaaaa-aaafq-cai

and it worked:

1 Like