Skip to content

Commit

Permalink
Document namespace option
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottPolhemus committed Feb 11, 2025
1 parent 421f4e3 commit 2959819
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/oauth/oauth-client-browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ following optional configuration options:
needed unless you run an entire atproto stack locally. Defaults to
`https://plc.directory`.

- `namespace`: An optional string used by the client to generate keys for browser storage (LocalStorage and IndexedDB). This is typically only needed if you are hosting multiple AppViews on the same domain in order to keep the OAuth response data separate from one another.

## Usage

Once the `client` is set up, it can be used to initiate & manage OAuth sessions.
Expand Down

0 comments on commit 2959819

Please sign in to comment.