siwe-oidc/example/demo
2022-02-11 13:54:20 +00:00
..
src Add basic demo SPA to display claims 2022-02-11 13:54:20 +00:00
workers-site Add basic demo SPA to display claims 2022-02-11 13:54:20 +00:00
.env Add basic demo SPA to display claims 2022-02-11 13:54:20 +00:00
Cargo.toml Add basic demo SPA to display claims 2022-02-11 13:54:20 +00:00
index.html Add basic demo SPA to display claims 2022-02-11 13:54:20 +00:00
README.md Add basic demo SPA to display claims 2022-02-11 13:54:20 +00:00
wrangler_example.toml Add basic demo SPA to display claims 2022-02-11 13:54:20 +00:00

Demo Single Page Application for the OIDC IdP

This demo's purpose is to display the claims that are shared with Relying Parties. It is currently deployed at https://demo-oidc.login.xyz.

Dependencies

$ cargo install trunk
$ rustup target add wasm32-unknown-unknown

Development

trunk serve --open

Deploy

cp wrangler_example.toml wrangler.toml

And fill in account_id and zone_id.

$ source .env
$ trunk build
$ wrangler publish