Requirements:
1. We want to integrate existing AD FS with our project to get credential token and check the user roles based on that.
2. We want to create federation metadata XML for "Relying Party Trust" & Claim Provider Trust
The ADFS server admin has shared their federation metadata XML and asked us to give them a federation metadata XML file.
The project is developed in MERN stack (MongoDB, Express, React, Node).
The project consists of a Front-end developed in React which communicates with a node server through REST APIs. The server is deployed on AWS Lambda and Front-end code is deployed on AWS Amplify.
The attached code consists of a sample dummy react app and an express server