This document is a step by step guide for enabling your web application to act as a service provider.
ComponentSpace SAML for ASP.NET Core Step by Step Guide - Service Provider