Skip to content

Commit 68e3385

Browse files
committed
Allow specifying custom endpoint for generate-token.
1 parent a8f2606 commit 68e3385

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test-client/src/bin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ program
2020
.command('generate-token')
2121
.description('Generate a JWT from for a given powersync.yaml config file')
2222
.option('-c, --config [config]', 'path to powersync.yaml')
23-
.option('-u, --sub [sub]', 'sub field for auto-generated token')
23+
.option('-u, --sub [sub]', 'payload sub')
24+
.option('-e, --endpoint [endpoint]', 'additional payload aud')
2425
.action(async (options) => {
2526
const credentials = await getCredentials(options);
2627
const decoded = await jose.decodeJwt(credentials.token);

0 commit comments

Comments
 (0)