Giter Site home page Giter Site logo

identityserver4org's Introduction

IdentityServer4Org

Authentication server for organizational use with IdentityServer4

Introduction

An authentication server with OpenID Connect and invitation based user registration. Built using IdentityServer4 and ASP.NET Core Identity.

Deployment

Current implementation requires MS SQL server for persistence. Project uses Entity Framework Core for database handling.

  1. Create an empty database in MS SQL server and update the connection string in IdentityServer4Org\appsettings.json
  2. Run following Entity Framework commands to apply Database migrations from IdentityServer4Org project directory.
    • dotnet ef database update --context ApplicationDbContext
    • dotnet ef database update --context PersistedGrantDbContext
    • dotnet ef database update --context ConfigurationDbContext
  3. In order to seed admin user in the first run, specify values for following keys to be loaded through IConfiguration.
    • SeedAdminEmail
    • SeedAdminPassword

Usage

Application will seed 'admin' user during initial run with above specified credentials. If setup is successful, you should be able to see OIDC configuration information at: /.well-known/openid-configuration.

Administration

Go to administration panel at /admin. When prompted to login, use 'admin' for username and value of SeedAdminPassword for password. Users, API resources, and clients are listed in admin page. Only users in 'Administrator' role can access this area. Initialization adds 'Administrator' role to 'admin' user.

User registration

Select 'Register new user' to open user registration page. Username and email are mandatory fields. If the username is new, a confirmation e-mail is sent to the provided address. Visiting the link will confirm the email address followed by a password setup prompt.

Password reset

Password can be reset by visiting 'Forgot Password?' link in login page. Application expects each user to have a unique email address. If a user can be found for the provided email address, a reset email is sent.

Resources

Identity Server 4

ASP.NET Core Identity

identityserver4org's People

Contributors

manga1a avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.