Skip to content

Commit

Permalink
Upd: Remove firebase and external identity provider configurations
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Oct 31, 2023
1 parent 07fcaca commit b141e87
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 27 deletions.
33 changes: 7 additions & 26 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,15 @@ type JSONWebKeys struct {
RsaRawE string
}

// ExternalIdentityProvidersConfiguration Holds the external identity provider configurations
type ExternalIdentityProvidersConfiguration struct {
IdentityProviderCustomerAuthenticationFlowID string
IdentityProviderCustomerAutoLinkFlowName string
IamTokenEndpoint string
IamAuthEndpoint string
}

// Iam Holds the IAM config details.
type Iam struct {
URL string
Realm string
ClientId string
Jwks JSONWebKeys
AdminUser string
AdminPassword string
Timeout int
ExternalIdentityProvidersConfiguration ExternalIdentityProvidersConfiguration
URL string
Realm string
ClientId string
Jwks JSONWebKeys
AdminUser string
AdminPassword string
Timeout int
}

// Twilio Twiolio account details
Expand All @@ -37,15 +28,6 @@ type Twilio struct {
AuthToken string
}

// Firebase Firebase account details
type Firebase struct {
WebApiKey string
DynamicLink string
AndroidPackageName string
IosAppStoreId string
IosBundleId string
}

// SmtpConfig Smtp server details
type SmtpConfig struct {
Username string
Expand Down Expand Up @@ -110,7 +92,6 @@ type Configuration struct {
Iam Iam
Twilio Twilio
PrivacyDashboard PrivacyDashboard
Firebase Firebase
Smtp SmtpConfig
Webhooks WebhooksConfig
}
Expand Down
2 changes: 1 addition & 1 deletion resources/config

0 comments on commit b141e87

Please sign in to comment.