Remove checks for TenantId
diff --git a/auth_options.go b/auth_options.go
index 7a16131..92268b2 100644
--- a/auth_options.go
+++ b/auth_options.go
@@ -139,14 +139,6 @@
// if insufficient or incompatible information is present.
var req request
- // Test first for unrecognized arguments.
- if opts.TenantID != "" {
- return nil, ErrTenantIDProvided{}
- }
- if opts.TenantName != "" {
- return nil, ErrTenantNameProvided{}
- }
-
if opts.Password == "" {
if opts.TokenID != "" {
// Because we aren't using password authentication, it's an error to also provide any of the user-based authentication
@@ -259,8 +251,6 @@
if opts.TenantID != "" {
scope.ProjectID = opts.TenantID
- opts.TenantID = ""
- opts.TenantName = ""
} else {
if opts.TenantName != "" {
scope.ProjectName = opts.TenantName