fix: list mapping of saml provider configuration type (#6815)

Co-authored-by: Max Peintner <max@caos.ch>
This commit is contained in:
Stefan Benz 2023-10-26 12:06:37 +02:00 committed by GitHub
parent b099a26a16
commit 0dec125e6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -417,6 +417,8 @@ func providerTypeToPb(idpType domain.IDPType) idp_pb.ProviderType {
return idp_pb.ProviderType_PROVIDER_TYPE_GOOGLE
case domain.IDPTypeApple:
return idp_pb.ProviderType_PROVIDER_TYPE_APPLE
case domain.IDPTypeSAML:
return idp_pb.ProviderType_PROVIDER_TYPE_SAML
case domain.IDPTypeUnspecified:
return idp_pb.ProviderType_PROVIDER_TYPE_UNSPECIFIED
default: