Skip to content

PowerShell bindings for Ubisecure SSO Management API

License

Notifications You must be signed in to change notification settings

psteniusubi/Ubisecure.SSO.Management

Repository files navigation

PowerShell bindings for Ubisecure SSO Management API

Depends on Ubisecure.OAuth2, Ubisecure.QueryString

Install from github.com

Windows

cd /d %USERPROFILE%\Documents\WindowsPowerShell\Modules
git clone https://github.com/psteniusubi/Ubisecure.SSO.Management.git

Note! With PowerShell Core module path is %USERPROFILE%\Documents\PowerShell\Modules

Linux

cd ~/.local/share/powershell/Modules
git clone https://github.com/psteniusubi/Ubisecure.SSO.Management.git

Example

$client = New-OAuthClientConfig -Json @"
{
    "redirect_uris":  [
                          "http://localhost/public"
                      ],
    "grant_types":  [
                        "authorization_code"
                    ],
    "client_id":  "public",
    "client_secret":  "public"
}
"@

New-SSOLogon -Client $client -Uri "https://login.example.ubidemo.com" -ManageUri "https://manage.example.ubidemo.com" -Browser "default"

Get-SSOObject -Type "site" "System"

About

PowerShell bindings for Ubisecure SSO Management API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published