From aec8887948a1a5675994b996b8ce698060ec8c29 Mon Sep 17 00:00:00 2001
From: Jacob Squires <jacob@squires.xyz>
Date: Wed, 21 Aug 2019 12:17:17 +1000
Subject: [PATCH] Add Symantec VIP Access MFA

---
 lib/okta.go | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/okta.go b/lib/okta.go
index e9a5e59c..449e785c 100644
--- a/lib/okta.go
+++ b/lib/okta.go
@@ -438,6 +438,12 @@ func GetFactorId(f *OktaUserAuthnFactor) (id string, err error) {
 	switch f.FactorType {
 	case "web":
 		id = f.Id
+	case "token":
+		if f.Provider == "SYMANTEC" {
+			id = f.Id
+		} else {
+			err = fmt.Errorf("provider %s with factor token not supported", f.Provider)
+		}
 	case "token:software:totp":
 		id = f.Id
 	case "token:hardware":