#wasmtime #wasi #component-model #wasi-run-time

omnia-wasi-identity

WASI identity and authentication interface for the Omnia runtime

3 releases (breaking)

Uses new Rust 2024

new 0.30.0 Mar 31, 2026
0.29.0 Mar 27, 2026
0.28.0 Feb 24, 2026

#2662 in WebAssembly


Used in 2 crates

MIT/Apache

36KB
350 lines

WASI Identity Service

This module implements a runtime service for wasi:identity (https://github.com/augentic/wasi-identity).


Omnia WASI Identity

This crate provides the Identity interface for the Omnia runtime.

Interface

Implements the wasi:identity WIT interface.

Backend

  • Default: Uses oauth2 crate to interact with OAuth2/OIDC providers.

Configuration

Requires configuration via environment variables or other sources to set provider details (Client ID, Client Secret, etc.).

Usage

Add this crate to your Cargo.toml and use it in your runtime configuration:

use omnia::runtime;
use omnia_wasi_identity::IdentityDefault;

omnia::runtime!({
    "identity": IdentityDefault,
});

License

MIT OR Apache-2.0

Dependencies

~0–23MB
~309K SLoC