Zum Hauptinhalt springen

Add AD FS as an OAuth provider

This guide explains how to let users sign in to Casdoor with their account in Active Directory Federation Services (AD FS).


Learning outcomes​

  • Register Casdoor as an OAuth confidential client in AD FS.
  • Add AD FS as an OAuth provider in Casdoor.

What you need​


Register Casdoor in AD FS​

  1. Register an application as described in Enabling OAuth Confidential Clients with AD FS.

    Registration of a confidential client in AD FS

    Client secret of the confidential client

  2. Copy the client identifier and the client secret.

Add the provider in Casdoor​

  1. In the Casdoor admin console, go to Identity > Providers and add a provider.

  2. Set Category to OAuth and Type to AD FS.

  3. Enter the client identifier as the Client ID and the secret as the Client secret.

    AD FS provider in Casdoor

  4. Save the provider.

Next steps​

Add the provider to an application. See Add providers to an application.

See also​