Skip to content

Commit

Permalink
fix: minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
travis committed Mar 8, 2024
1 parent 2b7eaa4 commit 9563841
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/docs/how-to/http-bridge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ prioritize adding support for them.

## Authentication and Authorization

Our UCAN Invocation-based API uses public/private keypairs for to identify users and UCAN Delegation
to authorized keypairs to invoke specific capabilities. The HTTP Bridge uses the same fundamental primitives
Our UCAN Invocation-based API uses public/private keypairs to identify users and UCAN Delegation
to allow those keypairs to invoke specific capabilities. The HTTP Bridge uses the same fundamental primitives
but confines them to two separate HTTP headers, `X-Auth-Secret` and `Authorization`, that can be generated
by clients without interacting with our service.

Details of how to generate the header values can be found in the
[W3UP UCAN Bridge Protocol](https://github.com/web3-storage/specs/blob/main/w3-ucan-bridge.md) specification, but
they can also be generated for you by the [`w3` CLI](https://github.com/web3-storage/w3cli).
they can also be generated for you by the [`w3` CLI](https://github.com/web3-storage/w3cli):

### Generating Auth Headers With `w3cli`
### Generating Auth Headers with `w3cli`

If you have not already logged in and created a space with the `w3` CLI, do that first:

Expand Down

0 comments on commit 9563841

Please sign in to comment.