Facebook

Universal Dashboard is now a part of PowerShell Universal. This documentation is for reference to the v2 version of Universal Dashboard and is no longer maintained. PowerShell Universal Documentation can be found here.

Facebook

Not available in Community Edition.

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

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

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

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

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