GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - simpleidserver/SimpleIdServer: OpenID, OAuth 2.0, SCIM2.0, UMA2.0, FAPI, CIBA & OPENBANKING Framework for ASP.NET Core

BranchesTags
Open more actions menu

Latest commit

 

History

1,829 Commits
1,829 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
Migrations/SCIM
Migrations/SCIM
 
 
SimpleIdServer.Aspire.Startup
SimpleIdServer.Aspire.Startup
 
 
certificates
certificates
 
 
compose
compose
 
 
dataseeder/dataseeder
dataseeder/dataseeder
 
 
en-US
en-US
 
 
formbuilder
formbuilder
 
 
images
images
 
 
json-ld.net @ 2d5db5f
json-ld.net @ 2d5db5f
 
 
logos
logos
 
 
private
private
 
 
public
public
 
 
samples
samples
 
 
scripts
scripts
 
 
src
src
 
 
tests
tests
 
 
website
website
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CredentialIssuer
CredentialIssuer
 
 
CredentialIssuerWebsite
CredentialIssuerWebsite
 
 
CustomStyle.html
CustomStyle.html
 
 
DID.txt
DID.txt
 
 
Directory.Build.props
Directory.Build.props
 
 
IdServer
IdServer
 
 
IdServerWebsite
IdServerWebsite
 
 
LICENSE
LICENSE
 
 
NuGet.Config
NuGet.Config
 
 
README.md
README.md
 
 
ScimDockerFile
ScimDockerFile
 
 
SimpleIdServer.CredentialIssuer.Host.sln
SimpleIdServer.CredentialIssuer.Host.sln
 
 
SimpleIdServer.Did.sln
SimpleIdServer.Did.sln
 
 
SimpleIdServer.FastFed.sln
SimpleIdServer.FastFed.sln
 
 
SimpleIdServer.Federation.sln
SimpleIdServer.Federation.sln
 
 
SimpleIdServer.IdServer.Host.sln
SimpleIdServer.IdServer.Host.sln
 
 
SimpleIdServer.Mobile.sln
SimpleIdServer.Mobile.sln
 
 
SimpleIdServer.Scim.Host.sln
SimpleIdServer.Scim.Host.sln
 
 
SimpleIdServerManagement.postman_collection.json
SimpleIdServerManagement.postman_collection.json
 
 
TODO.txt
TODO.txt
 
 
appveyor.yml
appveyor.yml
 
 
azure-pipelines.yml
azure-pipelines.yml
 
 
default.ps1
default.ps1
 
 
disableCipherSuite.ps1
disableCipherSuite.ps1
 
 
docker-compose.yml
docker-compose.yml
 
 
documentation.yml
documentation.yml
 
 
extract-patch.cmd
extract-patch.cmd
 
 
idserver.sh
idserver.sh
 
 
local-docker-compose.yml
local-docker-compose.yml
 
 
local-sid-kubernetes.yaml
local-sid-kubernetes.yaml
 
 
psake
psake
 
 
psake-config.ps1
psake-config.ps1
 
 
psake.cmd
psake.cmd
 
 
psake.ps1
psake.ps1
 
 
psake.psd1
psake.psd1
 
 
psake.psm1
psake.psm1
 
 
publish-nuget.cmd
publish-nuget.cmd
 
 
publish-nuget.ps1
publish-nuget.ps1
 
 
sid-kubernetes.yaml
sid-kubernetes.yaml
 
 

Repository files navigation

Simpleidserver core

SimpleIdServer

Build status Join the chat at https://app.gitter.im/#/room/#simpleidserver:gitter.im

SimpleIdServer is an open source framework enabling the support of OPENID, OAUTH2.0, SCIM2.0, UMA2.0, FAPI and CIBA. It streamlines development, configuration and deployment of custom access control servers. Thanks to its modularity and extensibility, SimpleIdServer can be customized to the specific needs of your organization for authentication, authorization and more.

Website, Documentation and Demo.

Packages

SimpleIdServer.IdServer NuGet NuGet
SimpleIdServer.IdServer.Email NuGet NuGet
SimpleIdServer.IdServer.Sms NuGet NuGet
SimpleIdServer.IdServer.WsFederation NuGet NuGet
SimpleIdServer.Templates NuGet NuGet
SimpleIdServer.Scim NuGet NuGet
SimpleIdServer.Scim.Persistence.EF NuGet NuGet
SimpleIdServer.Scim.Persistence.MongoDB NuGet NuGet
SimpleIdServer.Scim.Client NuGet NuGet
SimpleIdServer.OpenIdConnect NuGet NuGet

Preparation

Install SimpleIdServer templates.

dotnet new install SimpleIdServer.Templates

This will add the following templates

Command line Description
dotnet new idserver Create Identity Server. By default, Entity Framework is configured to use SQLServer
dotnet new idserverwebsite Create Identity Server website. By default, Entity Framework is configured to use SQLServer
dotnet new scim Create SCIM Server.
dotnet new credissuer Create credential issuer API.
dotnet new credissueradminui Create credential issuer administration UI.

Create Visual Studio Solution

Open a command prompt and execute the following commands to create the directory structure for the solution.

mkdir Quickstart
cd Quickstart
mkdir src
dotnet new sln -n Quickstart

Create IdentityServer project

To create a web project named IdServer with the SimpleIdServer.IdServer package installed, execute the command line :

cd src
dotnet new idserver -n IdServer

The following files will be created within a new src/IdServer directory :

  • IdServer.csproj : Project file with the SimpleIdServer.IdServer NuGet package added.
  • appsettings.json : Contains the ConnectionString.
  • Program.cs : Main application entry point.
  • IdServerConfiguration.cs : Contains the Clients, Resources.

Next, add the IdServer project into the Visual Studio Solution

cd ..
dotnet sln add ./src/IdServer/IdServer.csproj

Run the IdServer project, ensuring that it listens on the URL https://localhost:5001.

cd src/IdServer
dotnet run --urls=https://localhost:5001

The IdentityServer is now ready to be used.

By default, there is one administrator account configured. You can access their profile by navigating to the URL https://localhost:5001/master and authenticate using the following credentials :

  • Login : administrator
  • Password : password

IdentityServer UI preview

The IdentityServer UI uses Bootstrap 5.

IdentityServer

Create IdentityServer website project

create a web project named IdServerWebsite with the SimpleIdServer.IdServer.Website package installed, execute the command line :

cd src
dotnet new idserverwebsite -n IdServerWebsite

Run the IdServerWebsite project, it must listens on the url https://localhost:5002.

cd src/IdServerWebsite
dotnet run --urls=https://localhost:5002

The IdentityServer website is now ready to be used.

The website can be used to manage all aspects of an Identity Server solution, such as managing clients, users, and scopes.

Identity Server website UI preview

The IdentityServer website UI uses Radzen.

IdentityServerWebsite

SCIM Security

By default SCIM is configured to use API KEY authentication. For clients to perform any operation, they must include one of those keys in the HTTP HEADER Authorization Bearer field.

Owner Value
IdServer ba521b3b-02f7-4a37-b03c-58f713bf88e7
AzureAd 1595a72a-2804-495d-8a8a-2c861e7a736a

Create SCIM project with EF support

Create a web project named ScimEF with the SimpleIdServer.Scim.Persistence.EF package installed and Entity Framework (EF) configured to use SQLServer, execute the command line :

cd src
dotnet new scim -n ScimEF --connectionString "Data Source=.;Initial Catalog=SCIM;Integrated Security=True;TrustServerCertificate=True" -t "SQLSERVER"

Next, add the ScimEF project into the Visual Studio Solution

cd ..
dotnet sln add ./src/ScimEF/ScimEF.csproj

Run the ScimEF project, ensuring that it listens on the URL https://localhost:5003.

cd src/SCIMEF
dotnet run --urls=https://localhost:5003

Now that the SCIM server is running, you can check its Schemas endpoint by accessing https://localhost:5003/Schemas.

Create SCIM project with MongoDB support

To create a web project named ScimMongoDB with the SimpleIdServer.Scim.Persistence.MongoDB package installed and MongoDB support, execute the command line :

cd src
dotnet new scim -n ScimMongoDB --connectionString "mongodb://localhost:27017" -t "MONGODB"

Next, add the ScimMongoDB project into the Visual Studio Solution

cd ..
dotnet sln add ./src/ScimMongoDB/ScimMongoDB.csproj

Run the ScimMongoDB project, ensuring that it listens on the URL https://localhost:5003.

cd src/ScimMongoDB
dotnet run --urls=https://localhost:5003

Now that the SCIM server is running, you can check its Schemas endpoint by accessing https://localhost:5003/Schemas.

Create credential issuer project

To create a web project named CredentialIssuer with the SimpleIdServer.CredentialIssuer package installed, execute the command line :

cd src
dotnet new credissuer -n CredentialIssuer

The following files will be created within a new src/CredentialIssuer directory :

  • CredentialIssuer.csproj : Project file with the SimpleIdServer.CredentialIssuer NuGet package added.
  • appsettings.json : Contains the properties to configure the Openid authentication, such as the ClientId, ClientSecret and Issuer.
  • Program.cs : Main application entry point.
  • CredentialIssuerConfiguration.cs : Contains the CredentialConfigurations.

Run the CredentialIssuer project, ensuring that it listens on the URL https://localhost:5005.

cd src/IdServer
dotnet run --urls=https://localhost:5005

The CredentialIssuer is now ready to be used.

Credential issuer UI preview

The CredentialIssuer UI uses Bootstrap 5.

CredentialIssuer

Create credential issuer website project

To create a web project named CredentialIssuerAdminui with the SimpleIdServer.CredentialIssuer.Website package installed, execute the command line :

cd src
dotnet new credissueradminui -n CredentialIssuerAdminui

Run the CredentialIssuerAdminui project, it must listens on the url https://localhost:5006.

cd src/IdServerWebsite
dotnet run --urls=https://localhost:5006

The credential issuer administration ui is now ready to be used.

The website can be used to manage the credential configurations.

Credential issuer website UI preview

The CredentialIssuer website UI uses Radzen.

CredentialIssuerAdminUi

Running with docker

To execute all the projects in Docker, execute the following commands :

psake dockerBuild
psake dockerUp

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Contact us

To contact the team, you can send an email to [email protected] or share your ideas in gitter.im. The invitation link is https://app.gitter.im/#/room/#simpleidserver:gitter.im

About

OpenID, OAuth 2.0, SCIM2.0, UMA2.0, FAPI, CIBA & OPENBANKING Framework for ASP.NET Core

simpleidserver.com/

Topics

cibadotnet-corefapiidentityoauth2openidopenid-providersscim2securityuma2

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity

Stars

894 stars

Watchers

19 watching

Forks

130 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.