ovirt-engine-sdk-ruby icon indicating copy to clipboard operation
ovirt-engine-sdk-ruby copied to clipboard

Error during SSO authentication: access_denied: Cannot authenticate user '[email protected]'

Open siddushar opened this issue 1 year ago • 2 comments

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 '[email protected]': 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 avatar Sep 04 '24 12:09 siddushar