feat(server): add OIDC for AFFiNE (#6991)

Co-authored-by: LongYinan <lynweklm@gmail.com>
Co-authored-by: DarkSky <darksky2048@gmail.com>
This commit is contained in:
authored and GitHub committed 2024-05-24 00:35:30 +08:00
1 parent 0c42849bc3
commit 22a8a2663e
11 files changed
+281 -5

No files matched your search

@@ -23,6 +23,11 @@ const OAuthProviderMap: Record<
[OAuthProviderType.GitHub]: {
icon: <GithubIcon />,
},
[OAuthProviderType.OIDC]: {
// TODO: Add OIDC icon
icon: <GoogleDuotoneIcon />,
},
};
export function OAuth({ redirectUri }: { redirectUri?: string | null }) {