Skip to content

Commit b342e0d

Browse files
committed
fix: add redirect_uris to saveClientInformation call
1 parent b579483 commit b342e0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/clients/typescript/everything-client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ export async function runPreRegistration(serverUrl: string): Promise<void> {
338338
// Pre-set the client information so the SDK won't attempt DCR
339339
provider.saveClientInformation({
340340
client_id: ctx.client_id,
341-
client_secret: ctx.client_secret
341+
client_secret: ctx.client_secret,
342+
redirect_uris: ['http://localhost:3000/callback']
342343
});
343344

344345
// Use the provider-based middleware

0 commit comments

Comments
 (0)