node.jsreactjsadfsgatsby

How to authenticate in React through AD FS?


I am creating a web app using GatsbyJS that needs to utilize a secured corporate intranet which implements AD FS. I am having difficulty finding a good way to configure this.


Solution

  • Typically you would use ADAL.js as per this example.

    This article may also help as it also references ADAL.js.

    Most of the examples leverage Azure AD but they can be ported to work on ADFS.