It is very easy to use this library. Just use the get_redirection_url
method
def help_desk_url
options = {
username: user_name,
email: email,
role: role
}
SsoService.init(options).get_redirection_url
# or
# SsoService.new(options).get_redirection_url
end