Skip to content

Commit b903dc0

Browse files
authored
Add Sign in with INK button brand assets (#237)
Signed-off-by: Jason Odoom <jason@adastracomputing.com>
1 parent a0b2af9 commit b903dc0

6 files changed

Lines changed: 50 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ src/ library implementation
159159
discovery/ Agent Card fetching and candidate-key extraction
160160
ink/ discovery gating, handshake budget, receipts, checkpointing
161161
specs/ protocol spec documents
162-
docs/ maturity notes, threat model, key rotation rules
162+
docs/ maturity notes, threat model, key rotation rules, brand assets
163163
test-vectors/ JSON interop vectors
164164
test/ vitest unit + integration tests
165165
```

docs/brand/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Sign in with INK button assets
2+
3+
The "Sign in with INK" button that a relying party puts on its sign-in screen.
4+
It starts the flow in [`specs/ink-agent-authorization.md`](../../specs/ink-agent-authorization.md):
5+
a click hands the sign-in to the visitor's own INK agent, which confirms the
6+
request with them and proves their identity to the site.
7+
8+
- `sign-in-with-ink-dark.svg` for light backgrounds, 196 by 44
9+
- `sign-in-with-ink-light.svg` for dark backgrounds, 196 by 44
10+
- `ink-nib.svg` for the nib mark on its own
11+
12+
Drop one straight into a link:
13+
14+
```html
15+
<a href="/auth/ink/start">
16+
<img src="sign-in-with-ink-dark.svg" alt="Sign in with INK" width="196" height="44">
17+
</a>
18+
```
19+
20+
Usage guidance, a live markup-and-CSS variant and the sizing rules are on the
21+
canonical brand page at
22+
<https://ink.tulpa.network/extensions/sign-in-button/>.

docs/brand/ink-nib.svg

Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 8 additions & 0 deletions
Loading
Lines changed: 8 additions & 0 deletions
Loading

examples/reference-rp/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ another. This example shows the Sign in with INK flow, a different profile that
145145
composes the authorization grant. All three build on the same package surface and
146146
the same signing and verification primitives.
147147

148+
## The button
149+
150+
This example is the backend an RP runs. The control a user clicks to start the
151+
flow is the "Sign in with INK" button. Its assets live in
152+
[`docs/brand`](../../docs/brand), and the sizing, variants and usage rules are on
153+
the [brand page](https://ink.tulpa.network/extensions/sign-in-button/).
154+
148155
## Build and test
149156

150157
```sh

0 commit comments

Comments
 (0)