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 osandDarkSky authored and GitHub committed 2024-11-09 20:01:33 +08:00
1 parent d6618b6891
commit e2f281ac18
1 file changed
+1 -1
@@ -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(),
});