The define key "process.env.INTERNET-IDENTITY_CANISTER_ID" contains invalid identifier "INTERNET-IDENTITY_CANISTER_ID"

My internet identity integration has been working correctly until Feb 22 .When i run the frontend I get this error The define key “process.env.INTERNET-IDENTITY_CANISTER_ID” contains invalid identifier “INTERNET-IDENTITY_CANISTER_ID” .I haven’t changed anything in my code .

Any chance you accidentally changed a _ to a -? Can you try replacing INTERNET-IDENTITY_CANISTER_ID with INTERNET_IDENTITY_CANISTER_ID?

Hi @cosmasken
How are you adding Internet Identity to your local setup? Note: with the latest release, we introduced an issue with dfx deps pull. This should be fixed with the next release, to be deployed on Monday.

I’m using internet-identity . Should I change to internet_identity?

I was using the pulled internet identity but had to change when it gave me the error of different hashes for the wasm and in pulled json

It doesn’t matter what you call the canister, but the environment variable uses _ in place of -. (source code) So process.env.<something> should never contain a dash

Yes, this is a bug on our side. It will be fixed when this proposal is executed.