There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(server): make scope field optional in access token response (#8753)
js ose2f281ac183b
diff --git a/packages/backend/server/src/plugins/oauth/providers/oidc.ts b/packages/backend/server/src/plugins/oauth/providers/oidc.tsindex e0d0e67f0f..e55fdefeaa 100644--- a/packages/backend/server/src/plugins/oauth/providers/oidc.ts+++ b/packages/backend/server/src/plugins/oauth/providers/oidc.ts@@ -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(),});