opentelekomcloud / gophertelekomcloud

GopherTelekomCloud is an OpenTelekomCloud clouds Go SDK
Apache License 2.0
20 stars 10 forks source link

Getting Error whilie sending 'AuthenticatedClient()' request via golangsdk.AuthOptions{} #711

Closed Ashughorla closed 4 weeks ago

Ashughorla commented 1 month ago

Getting error while sending 'AuthenticatedClient()' request via below options:

golangsdk.AuthOptions{
        IdentityEndpoint: IdentityEndpoint,
        DomainName:       domain,
        Password:         password,
        Username:         username,
        Passcode:         passcode,
    }

Error : You must provide UserID for MFA Can anyone help me here. Any example code will be helpful. I want to authenticate via combination of 'DomainName', 'Username', 'Password' and 'Passcode'.