@samebase/identity-broker 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,6 +11,16 @@ Why: every new app otherwise needs its own OAuth app registrations and its own e
11
11
  preview deployment with a fresh callback URL cannot have them at all. With the broker, an app
12
12
  registers each deployment as a client at deploy time and never touches GitHub or Google.
13
13
 
14
+ ## Start from our hub
15
+
16
+ A hub is a small Convex app that mounts this component.
17
+ [`apps/identity-hub`](https://github.com/samebase/samebase/tree/main/apps/identity-hub) is the hub
18
+ we run in production, and it is also the example: there is no separate template. To run your own,
19
+ copy that folder and change the values in `alchemy.run.ts` and `convex/connectors.ts`, or ask your
20
+ agent to do it. Its
21
+ [README](https://github.com/samebase/samebase/blob/main/apps/identity-hub/README.md) has the deploy
22
+ steps.
23
+
14
24
  ## What it is
15
25
 
16
26
  - `@samebase/identity-broker`: a Convex component plus the host-side endpoints. Authorization code
@@ -20,9 +30,6 @@ registers each deployment as a client at deploy time and never touches GitHub or
20
30
  - Connectors are configuration: any OAuth 2.0 provider that publishes RFC 8414 metadata, any OpenID
21
31
  Connect provider, and an email code sent by your own action. `github()`, `google()` and `email()`
22
32
  are included.
23
- - A hub is a small Convex app that mounts the component.
24
- [`apps/identity-hub`](https://github.com/samebase/samebase/tree/main/apps/identity-hub) is ours.
25
- To start your own, ask your agent to copy that folder.
26
33
  - `Convex.HubClient` of [`@samebase/alchemy-convex`](https://github.com/samebase/alchemy-convex), an
27
34
  Alchemy v2 resource, registers a deployment as a client at deploy time.
28
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samebase/identity-broker",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "An OpenID Provider for Convex that holds a team's upstream sign-in connections once and keeps no user accounts.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {