All Projects → ThunderDev1 → Reactjs Ts Identityserver

ThunderDev1 / Reactjs Ts Identityserver

Licence: mit
Demo app for using Identity Server with React.js SPA, .Net Core 3.0 and TypeScript

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Reactjs Ts Identityserver

Identitybase
IdentityBase is a Universal Identity Platform for web, mobile and IoT built on top of IdentityServer.
Stars: ✭ 112 (-6.67%)
Mutual labels:  openid-connect, identityserver4
IdentityServerSample
Sample ASP.NET Core MVC and Angular apps and API using Identity Server 4
Stars: ✭ 25 (-79.17%)
Mutual labels:  openid-connect, identityserver4
Oidc.example
OIDC (OpenID Connect) Example for http://openid.net/connect/
Stars: ✭ 190 (+58.33%)
Mutual labels:  openid-connect, identityserver4
React Oidc Client Js
OpenID Connect (OIDC) client with React and typescript
Stars: ✭ 122 (+1.67%)
Mutual labels:  openid-connect, identityserver4
Identityserver4.samples
Samples for IdentityServer4,use .net core 2.0
Stars: ✭ 561 (+367.5%)
Mutual labels:  openid-connect, identityserver4
Theidserver
OpenID/Connect server based on IdentityServer4
Stars: ✭ 170 (+41.67%)
Mutual labels:  openid-connect, identityserver4
run-aspnet-identityserver4
Secure microservices with using standalone Identity Server 4 and backing with Ocelot API Gateway. Protect our ASP.NET Web MVC and API applications with using OAuth 2 and OpenID Connect in IdentityServer4. Securing your web application and API with tokens, working with claims, authentication and authorization middlewares and applying policies.
Stars: ✭ 159 (+32.5%)
Mutual labels:  openid-connect, identityserver4
Identityserver4 Example
Example IdentityServer 4 Implementation
Stars: ✭ 136 (+13.33%)
Mutual labels:  openid-connect, identityserver4
Jpproject.identityserver4.sso
🔒 ASP.NET Core 3.1 Open Source SSO. Built within IdentityServer4 🔑
Stars: ✭ 298 (+148.33%)
Mutual labels:  openid-connect, identityserver4
Angularaspnetcoreoauth
Sample project demonstrating user authentication and identity with Angular, Asp.Net Core and IdentityServer4
Stars: ✭ 268 (+123.33%)
Mutual labels:  openid-connect, identityserver4
example-oidc
OIDC (OpenID Connect) Example for http://openid.net/connect/
Stars: ✭ 221 (+84.17%)
Mutual labels:  openid-connect, identityserver4
Identityserver4.samples
Samples for IdentityServer4
Stars: ✭ 1,002 (+735%)
Mutual labels:  openid-connect, identityserver4
IdentityServer4SignalR
Demo of Authentication SignalR with JWT Tokens via OpenID Connect in DotNet Core
Stars: ✭ 35 (-70.83%)
Mutual labels:  openid-connect, identityserver4
Jpproject.identityserver4.adminui
🔧 ASP.NET Core 3 & Angular 8 Administration Panel for 💞IdentityServer4 and ASP.NET Core Identity
Stars: ✭ 717 (+497.5%)
Mutual labels:  openid-connect, identityserver4
Identityserver4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
Stars: ✭ 8,428 (+6923.33%)
Mutual labels:  openid-connect, identityserver4
Aspnetcorespa
Asp.Net 5.0 & Angular 11 SPA Fullstack application with plenty of examples. Live demo:
Stars: ✭ 1,211 (+909.17%)
Mutual labels:  identityserver4
Zitadel
ZITADEL - Cloud Native Identity and Access Management
Stars: ✭ 105 (-12.5%)
Mutual labels:  openid-connect
Shibboleth Oidc
OpenID Connect support for the Shibboleth Identity Provider v3
Stars: ✭ 75 (-37.5%)
Mutual labels:  openid-connect
Openidconnect Rs
OpenID Connect Library for Rust
Stars: ✭ 75 (-37.5%)
Mutual labels:  openid-connect
Crm
A lightweight CRM application builds with microservices architecture
Stars: ✭ 102 (-15%)
Mutual labels:  identityserver4

reactjs-ts-identityserver

Demo project for using Identity Server with React.js SPA and TypeScript

Demo Gif

The project is in 3 parts:

IdentityServer (http://localhost:5000)

Based off the IdentityServer4 samples, it uses uses ASP.NET Identity for identity management. You'll need to create the database (instructions bellow) to begin creating user accounts.

Spa (http://localhost:5100)

A single page application made with React, TypeScript and Webpack. Uses redux-oidc package for managing authentication.

Note: I'm no longer using hash router, webpack dev server is configured to redirect all pages to index.html. When deploying to production, you will need a similar mecanism for the callback page to work (this can easily be done using Netlify or Firebase hosting).

Api (http://localhost:5200)

Based off the dotnet new webapi template. Has a global authorize filter.

Stuff to install

Dotnet Core 3.0 SDK
Node.js
SQL Server express

Running the project

Clone repository

Add a secrets.json file in IdentityServer folder with the following (replace user id and password):

{
    "ConnectionStrings": {
      "DefaultConnection": "Server=(local);Database=AspIdentity;MultipleActiveResultSets=true;user id=*****;password=*****;"
    }
}

Open a command prompt in project location:

cd Spa

yarn

yarn serve

In a second command prompt:

cd IdentityServer

dotnet ef database update

dotnet run

In a third command prompt:

cd Api

dotnet run

Go to identity server (http://localhost:5000) create an account then go to the single page app (http://localhost:5100)

You may need to change the environment variable on each project, either

  • run set ASPNETCORE_ENVIRONMENT=Development in Windows cmd terminal
  • run $Env:ASPNETCORE_ENVIRONMENT = "Development" in Windows powershell terminal
  • run ASPNETCORE_ENVIRONMENT=Development in Linux bash

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].