dfinity / sns-testing

Testing SNS in local testing environment
Apache License 2.0
9 stars 12 forks source link

While running locally, I can't create local internet identity #61

Closed CodingFu closed 6 months ago

CodingFu commented 7 months ago

I'm running on mac m3

Steps for reproduce:

1.

bash install.sh

2.

DX_NET_JSON="${HOME}/.config/dfx/networks.json"
mkdir -p "$(dirname "${DX_NET_JSON}")"
cp "$DX_NET_JSON" "${DX_NET_JSON}.tmp" 2>/dev/null
echo '{
   "local": {
      "bind": "0.0.0.0:8080",
      "type": "ephemeral",
      "replica": {
         "subnet_type": "system",
         "port": 8000
      }
   }
}' > "${DX_NET_JSON}"
./bin/dfx start --clean; \
mv "${DX_NET_JSON}.tmp" "$DX_NET_JSON" 2>/dev/null 
  1. (in new terminal tab)
    ./setup_locally.sh

When I visit http://qsgjb-riaaa-aaaaa-aaaga-cai.localhost:8080/

and then click 'sign in with internet Identity'

I get redirected to: http://qhbym-qaaaa-aaaaa-aaafq-cai.localhost:8080/#authorize

And, once I try to create an account I see an error:

Screenshot 2024-03-27 at 10 19 19 AM
letmejustputthishere commented 7 months ago

I experience the same issue.

anchpop commented 6 months ago

@letmejustputthishere @CodingFu I just created an MR that should address this issue. Please try it again from the latest main and leave a comment here if it is not resolved!

letmejustputthishere commented 6 months ago

problem resolved, thank you for fixing this!