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:
Tao Chen
2024-05-23 18:35:30 +02:00
committed by GitHub
parent 0c42849bc3
commit 22a8a2663e
11 changed files with 281 additions and 5 deletions

View File

@@ -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 }) {