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

Last updated