oVirt / ovirt-engine-sdk-ruby

Ruby gem that simplyfies access to the oVirt Engine API
20 stars 12 forks source link

Error during SSO authentication: access_denied: Cannot authenticate user 'text@domain.com' #15

Open siddushar opened 2 weeks ago

siddushar commented 2 weeks ago

It was working before mac update but it is showing an error after mac update:

Not able to authenticate I'm using mac device and i was able to install the ovirt gem with following code - gem install ovirt-engine-sdk -v4.6.0 -- --with-cflags="-Wno-error=incompatible-function-pointer-types -Wno-error=implicit-function-declaration"

connection = OvirtSDK4::Connection.new(
            url: host,
            username: @user,
            password: @pass,
            debug: true,
            insecure:  true,
            log:      Logger.new('example.log')
          )

ruby-3.0.0/gems/ovirt-engine-sdk-4.6.0/lib/ovirtsdk4/connection.rb:476:in create_access_token': Error during SSO authentication: access_denied: Cannot authenticate user 'user@domain.com': Unable to log in. Verify your login information or contact the system administrator.. (OvirtSDK4::AuthError) from /Users/sh077503/.rvm/gems/ruby-3.0.0/gems/ovirt-engine-sdk-4.6.0/lib/ovirtsdk4/connection.rb:646:in internal_send' from /Users/sh077503/.rvm/gems/ruby-3.0.0/gems/ovirt-engine-sdk-4.6.0/lib/ovirtsdk4/connection.rb:202:in block in send' from /Users/sh077503/.rvm/gems/ruby-3.0.0/gems/ovirt-engine-sdk-4.6.0/lib/ovirtsdk4/connection.rb:202:in synchronize' from /Users/sh077503/.rvm/gems/ruby-3.0.0/gems/ovirt-engine-sdk-4.6.0/lib/ovirtsdk4/connection.rb:202:in send' from /Users/sh077503/.rvm/gems/ruby-3.0.0/gems/ovirt-engine-sdk-4.6.0/lib/ovirtsdk4/service.rb:194:in internal_get' from /Users/sh077503/.rvm/gems/ruby-3.0.0/gems/ovirt-engine-sdk-4.6.0/lib/ovirtsdk4/services.rb:36365:in `list

siddushar commented 5 days ago

@kbrock do you know how to resolve this.?

kbrock commented 19 hours ago

@siddushar Sorry. I am just focused on compilation and currently do not have access to an ovirt machine.