From 9ea04f1f3175b67e8b482d85a19a71d2a739a85b Mon Sep 17 00:00:00 2001 From: Jacob Squires Date: Thu, 29 Aug 2019 06:31:50 +1000 Subject: [PATCH] Add Symantec VIP Access MFA (#196) --- lib/okta.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/okta.go b/lib/okta.go index 0abba668..18c1e72d 100644 --- a/lib/okta.go +++ b/lib/okta.go @@ -444,6 +444,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":