SettingsInput is missing from the ic_siwb_provider interface

@neeboo

Hi! I began looking at creating an app using ic-siwb. After fiddling for some time, not being able to deploy the provider canister, I noticed that the SettingsInput is not connected to the init / upgrade canister methods in the did.

service : {
  get_address : (Principal, String) -> (GetAddressResponse) query;
  ...
}

This prevents anyone from deploying the canister. The init fn expects a SettingsInput, but it is not specified in the did.

Compare with did from ic_siwe:

service : (settings_input : SettingsInput) -> {
  "get_address" : (Principal) -> (GetAddressResponse) query;
  ...
}

ps. Added (settings_input : SettingsInput) to a local copy of the did and the canister deploys correctly.

1 Like

I also had some issues, while trying to deploy the ic-siwb for localhost. In the docs, I don’t see any guide for deploying any server, but ic-siwb expects a server.