mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:17:32 +00:00
feat(login): use new IDP templates (#5315)
The login uses the new template based IDPs with backwards compatibility for old IDPs
This commit is contained in:
@@ -34,3 +34,12 @@ const (
|
||||
IDPTypeGitLabSelfHosted
|
||||
IDPTypeGoogle
|
||||
)
|
||||
|
||||
func (t IDPType) GetCSSClass() string {
|
||||
switch t { //nolint:exhaustive
|
||||
case IDPTypeGoogle:
|
||||
return "google"
|
||||
default:
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user