IdentityServer4 SAML2P library from Rock Solid Knowledge, dotnet core 3.1 is used, Alpine images for docker containers.
In order to use the library, you need to ask for a DEMO licence, as SAML2p is not free: https://www.identityserver.com/products/saml2p
- itg.IdentityProvider is acting as an External Identity Provider.
- Identity Server 4 with SAML2p library that corresponds to SAML's Identity Provider
- mitp.IdentityProvider is acting as a normal Identity Server, that implements SAML SSO.
- Acts as a Service Provider in SAML terminology. By using SAML2p lib.
- itg is added as an External Identity Provider, which returns proper SAML responses to mitp identity server.
- All the configurations are in Startup and Config classes of the identity servers.
- SPA application is used, that implements OAuth 2.0 Auth Code flow + PKCE, is a simple Javascript application, that utilizes oidc-client.js
- dotnet core 3.1
- Alpine 3.12
- MSSQL in docker 2019
- Identity Server 4.
- docker-compose 3.7
- Install docker.
- Go to the repo (where docker-compose is placed)
- run docker-compose up --build
- Up will start on http://localhost:5001, http://localhost:5003, http://localhost:7001 and so on.
- SPA is on http://localhost:5003
- Wait while it starts, creates all the databases, should take about a minute.
- Login, creds are specified on a login page.
Links: