# Using Microsoft ADFS for OAuth2 SSO

**URL:** <https://forums.knack.com/t/using-microsoft-adfs-for-oauth2-sso/11928>\
**Category:** Get Answers\
**Created:** [January 21, 2022, 1:25pm UTC](https://forums.knack.com/t/using-microsoft-adfs-for-oauth2-sso/11928 "2022-01-21T13:25:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Casper](https://avatars.discourse-cdn.com/v4/letter/c/b4bc9f/32.png) [@Casper](https://forums.knack.com/u/Casper)\
**Post date:** [January 21, 2022, 1:25pm UTC](https://forums.knack.com/t/using-microsoft-adfs-for-oauth2-sso/11928/1 "2022-01-21T13:25:15Z")

</div>

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].knack.com. I created the OAuth configuration (Add-AdfsClient) with the https://[company].knack.com/[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

---

<div class="post-metadata">

**Author:** ![LeighBerre96926](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/leighberre96926/32/4896_2.png) [@LeighBerre96926](https://forums.knack.com/u/LeighBerre96926)\
**Post date:** [February 6, 2024, 10:25pm UTC](https://forums.knack.com/t/using-microsoft-adfs-for-oauth2-sso/11928/2 "2024-02-06T22:25:04Z")

</div>

Did you ever work this out?
