Skip to content

Commit b238f36

Browse files
chore: sync II spec to dfinity/internet-identity release-2026-08-07 (#341)
## Summary Automated sync of the Internet Identity specification from `dfinity/internet-identity`. **Release:** `release-2026-08-07` (pinned from `e646fe9` → `c78d1b99`) **Changed upstream files:** - `docs/vc-spec.md` - `src/internet_identity/internet_identity.did` - Ran `npm run sync:ii-spec` — regenerated `docs/references/internet-identity-spec.md` and `docs/references/verifiable-credentials-spec.md` - Build passed ✓ ## Checklist - [ ] Review the diff to `docs/references/internet-identity-spec.md` for content changes - [ ] Review the diff to `docs/references/verifiable-credentials-spec.md` for content changes - [ ] Check for new absolute `internetcomputer.org` link patterns (script exits non-zero if any were missed) - [ ] Verify any renamed or restructured sections are reflected correctly ## Sync recommendation `sync from dfinity/internet-identity — docs/ii-spec.mdx, docs/vc-spec.md, src/internet_identity/internet_identity.did` Co-authored-by: pr-automation-bot-public[bot] <pr-automation-bot-public[bot]@users.noreply.github.com>
1 parent e2e3a4a commit b238f36

4 files changed

Lines changed: 6 additions & 29 deletions

File tree

.sources/VERSIONS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ motoko-core v2.4.0
6262
cdk-rs ic-cdk v0.20.1 / ic-cdk-timers v1.0.0 / ic-cdk-executor v2.0.0 317f55c
6363
candid 2025-12-18 # candid v0.10.20, didc v0.5.4 2e4a2cf
6464
response-verification v3.1.0 18c5a37
65-
internetidentity release-2026-07-31 e646fe93
65+
internetidentity release-2026-08-07 c78d1b99

.sources/internetidentity

Submodule internetidentity updated 112 files

docs/references/verifiable-credentials-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar:
99

1010
This section describes the (Candid) interface to be implemented by an issuer of verifiable credentials on the IC.
1111
This interface is used by the II-canister during attribute sharing flow (cf. [flow description](https://github.com/dfinity/wg-identity-authentication/blob/d2664795afe9cea40386804bdb1259a47e34540d/topics/attribute-sharing.md))
12-
An example implementation of the interface is given in [demos/vc_issuer](https://github.com/dfinity/internet-identity/tree/main/demos/vc_issuer).
12+
An example implementation of the interface is given in [dfinity/internet-identity-vc-demo-issuer](https://github.com/dfinity/internet-identity-vc-demo-issuer).
1313

1414
The Candid interface is as follows, and the subsequent sections describe the
1515
services and the corresponding messages in more detail.

public/references/internet-identity.did

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -259,19 +259,6 @@ type CaptchaConfig = record {
259259
};
260260
};
261261

262-
// One entry of the `sso_credential_migration` backfill. Maps the
263-
// (iss, aud) pair of a stored SSO credential to the discovery domain and
264-
// optional human-readable name it resolves to.
265-
type SsoCredentialMigrationEntry = record {
266-
discovery_domain : text;
267-
// Matches the stored credential's `iss`.
268-
issuer : text;
269-
// Matches the stored credential's `aud`.
270-
client_id : text;
271-
// Human-readable SSO label; stamped onto the credential's `sso_name`.
272-
name : opt text;
273-
};
274-
275262
// Init arguments of II which can be supplied on install and upgrade.
276263
//
277264
// Each field is wrapped is `opt` to indicate whether the field should
@@ -312,13 +299,6 @@ type InternetIdentityInit = record {
312299
// `https` for every discovery host. Never enable in production — non-loopback
313300
// hosts always require `https` regardless.
314301
sso_allow_insecure_discovery : opt bool;
315-
// One-shot backfill of the `sso_domain` / `sso_name` fields on stored
316-
// OpenID credentials. When set, a batched timer-driven migration stamps
317-
// every stored credential whose (iss, aud) matches an entry and whose
318-
// `sso_domain` is not set yet. Idempotent — already-stamped credentials
319-
// are skipped, so re-submitting (e.g. with a corrected list) is safe.
320-
// When unset, no backfill runs.
321-
sso_credential_migration : opt vec SsoCredentialMigrationEntry;
322302
// Configuration for Web Analytics
323303
analytics_config : opt opt AnalyticsConfig;
324304
// Configuration to show dapps explorer or not
@@ -354,12 +334,6 @@ type InternetIdentityInit = record {
354334
// set/clear pattern as `dnssec_config`: null keeps the previously stored
355335
// value, `opt null` clears it, `opt opt "https://..."` sets it.
356336
mcp_official_url : opt opt text;
357-
// One-shot upgrade arg driving the MCP config migration: `opt true` gives
358-
// every anchor "enabled, official connector", since neither a value stored
359-
// before the official connector existed nor an absent config was ever a
360-
// choice about it. Unset means no migration, and the migration is refused
361-
// when the deployment ships no `mcp_official_url`.
362-
mcp_config_migration : opt bool;
363337
};
364338

365339
// DNSSEC trust-anchor list. Any feature that needs DNSSEC-verified DNS
@@ -501,6 +475,9 @@ type SsoDiscovery = record {
501475
name : opt text;
502476
// Client the target origin runs its ceremony against; `null` when denied.
503477
resolved_client_id : opt text;
478+
// How long a sign-in through this domain stays valid, in nanoseconds, from
479+
// the domain's optional `session_max_age_seconds` (8 hours when unset).
480+
session_max_age_ns : nat64;
504481
};
505482

506483
// Status of a domain's SSO discovery, read by `get_sso_discovery_status`. A

0 commit comments

Comments
 (0)