mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 20:41:50 +08:00
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:
@@ -14,7 +14,7 @@ const OIDCTokenSchema = z.object({
|
|||||||
access_token: z.string(),
|
access_token: z.string(),
|
||||||
expires_in: z.number(),
|
expires_in: z.number(),
|
||||||
refresh_token: z.string(),
|
refresh_token: z.string(),
|
||||||
scope: z.string(),
|
scope: z.string().optional(),
|
||||||
token_type: z.string(),
|
token_type: z.string(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user