You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The application didn't specify a tenant or allow list when constructing the credential. Allow the
137
+
// tenant specified for this token request because we have nothing to compare it to (i.e., it vacuously
138
+
// satisfies the credential's configuration); don't know whether the application is multitenant; and
139
+
// don't want to return an error in the common case that the specified tenant matches the credential's
140
+
// default tenant determined elsewhere e.g., in some dev tool's configuration.
141
+
returnspecified, nil
142
+
}
143
+
}
124
144
return"", fmt.Errorf(`%s isn't configured to acquire tokens for tenant %q. To enable acquiring tokens for this tenant add it to the AdditionallyAllowedTenants on the credential options, or add "*" to allow acquiring tokens for any tenant`, credName, specified)
0 commit comments