We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10375b5 commit 1f3a0a8Copy full SHA for 1f3a0a8
1 file changed
src/components/Login/index.tsx
@@ -161,6 +161,21 @@ const Login = () => {
161
</Button>
162
))
163
)),
164
+ ...settings.currentSettings.openIdProviders.map((provider) => (
165
+ <Button
166
+ as="a"
167
+ href={`/api/v1/auth/oidc/login/${provider.slug}`}
168
+ className="flex-1 bg-transparent"
169
+ >
170
+ {/* eslint-disable-next-line @next/next/no-img-element */}
171
+ <img
172
+ src={provider.logo}
173
+ alt={provider.name}
174
+ className="mr-2 max-h-5 w-5"
175
+ />
176
+ <span>{provider.name}</span>
177
+ </Button>
178
+ )),
179
].filter((o): o is JSX.Element => !!o);
180
181
return (
0 commit comments