fix(server): make scope field optional in access token response (#8753)

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
This commit is contained in:
js os
2024-11-09 13:01:33 +01:00
committed by GitHub
parent d6618b6891
commit e2f281ac18

View File

@@ -14,7 +14,7 @@ const OIDCTokenSchema = z.object({
access_token: z.string(),
expires_in: z.number(),
refresh_token: z.string(),
scope: z.string(),
scope: z.string().optional(),
token_type: z.string(),
});