@tempoxyz/auth 0.0.0-pr-6.sha-fe206c7 → 0.0.0-pr-7.sha-59fc900
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.
- package/README.md +2 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,14 +41,11 @@ await client.token.transferSync({
|
|
|
41
41
|
pnpm add @tempoxyz/auth viem
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
viem is a peer dependency.
|
|
45
|
-
|
|
46
44
|
## Before you start
|
|
47
45
|
|
|
48
|
-
- **Register the app.**
|
|
49
|
-
- **Allow the app's origin.** Apps that call Tempo Auth from their own page need their origin in Tempo Auth's `INTERNAL_ORIGINS`.
|
|
46
|
+
- **Register the app.** Add it to Tempo Auth's `apps.config.ts`, with every redirect URI it uses, and mark it `headless` if it calls Tempo Auth from its own page. Merging creates its WorkOS Connect app, whose `client_id` is the `clientId` you pass to `Auth.create`. An app with a backend also needs a client secret from the WorkOS dashboard.
|
|
50
47
|
|
|
51
|
-
The CLI device grant needs
|
|
48
|
+
The CLI device grant needs no registration. It signs in as Tempo Auth's own `tempo-cli` app.
|
|
52
49
|
|
|
53
50
|
## Access keys
|
|
54
51
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tempoxyz/auth",
|
|
3
|
-
"version": "0.0.0-pr-
|
|
3
|
+
"version": "0.0.0-pr-7.sha-59fc900",
|
|
4
4
|
"description": "Signs users in to Tempo through Tempo Auth, and returns viem access key accounts on their Tempo Accounts.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|