Google

Last updated 5 months ago

Not available in Community Edition.

To enable login with Google OAuth authentication, you can use the New-UDAuthenticationMethod cmdlet to allow users to enter their Google credentials to login to your dashboard.

First, you need to register your application with Google. You can follow the directions here.

When registering your application, the callback URL should be: http(s)://<server:port>/signin-google

Next, you need to call New-UDAuthenticationMethod and specify the AppId, AppSecret and Provider name.

$Method = New-UDAuthenticationMethod -AppId 1234 -AppSecret Abc123 -Provider Google
$LoginPage = New-UDLoginPage -AuthenticationMethod $Method