Using Microsoft ADFS for OAuth2 SSO

We’re looking to connect our app to our ADFS server, but it’s not working out of the box. In ADFS I created a relying party trust with an identifier to https://[company] I created the OAuth configuration (Add-AdfsClient) with the https://[company][app-name] as the redirect URI and a ClientId.

In Knack I configured:

  • Authorization URL: https://[adfs url]/adfs/oauth2/authorize
  • Access Token URL: https://[adfs url]/adfs/oauth2/token

I’m not sure what the profile URL should be and what is the correct way to fill the properties. Anyone here any ideas how to properly configure a connection to ADFS based on OAuth2?

Any help