I’m updating Internet Identity in the Juno Docker image from the old version 2024-10-18
to the latest 2025-05-03
(PR here).
There are a few new initialization parameters, can I simply leave them blank?
fetch_root_key: [],
openid_google: [],
is_production: [],
enable_dapps_explorer: [],
analytics_config: [],
related_origins: []
fetch_root_key: [], // Leave blank for mainnet
openid_google: [], // Feature flag for WIP
is_production: [], // Set to true to hide non-prod warning
enable_dapps_explorer: [], // Set to true if you want to see the dapps explorer after sign in on the dashboard
analytics_config: [], // Leave blank unless you want to do analytics with Plausible
related_origins: [] // Set to list of URL origins your instance will be available on
Thanks.
So, not blank for a local replica - i.e. has newly to be set to true
is that right?
How does this apply when running a local replica? Should it be set or not, and if set, what value?
If those parameters are documented somewhere, feel free to just point me to the doc.
In most cases you’d deploy a dev build on the local replica, which ignores the fetch_root_key option (always set to true). If you deploy a production build, you need to explicitly set it to true if not running on mainnet.
You can skip setting the related_origins on local, it’s only needed on mainnet
Thanks for the feedback, we haven’t really properly documented deploying production builds and the deployment arguments yet, it’s something that still on our roadmap.
1 Like