mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
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:
@@ -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 }) {
|
||||
|
||||
Reference in New Issue
Block a user