We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7911675 commit 124181cCopy full SHA for 124181c
lib/fog/openstack/core.rb
@@ -222,6 +222,11 @@ def authenticate
222
@openstack_auth_url
223
end
224
225
+ # Manages cases where identity endpoint returned is v2 but v3 should be used
226
+ if @openstack_service_type.include? 'identity_v3' and @openstack_management_url =~ /\/v2.0(\/)*$/
227
+ @openstack_management_url = @openstack_auth_url
228
+ end
229
+
230
@current_user = token.user['name']
231
@current_user_id = token.user['id']
232
@current_tenant = token.tenant
0 commit comments