Giter Club home page Giter Club logo

identityserver's Introduction

How to run Solution

I) Certificates

Security.AuthorizationServer

You will need to install test certificates. Download the certificates from https://github.com/IdentityServer/IdentityServer3.Samples/tree/master/source/Certificates and follow the instructions.

II) Database

Security.IdentityManagementTool uses Identity to Create users and roles. So, you will need an instance of the AspNetIdentity in your Sql Server. I am using EntityFramework, so all you need to do is the following:

Update-database

III) Run Projects

Next, you need to have all the projects running. To do this, right click on Solution to access Properties. Next, on the Property Pages, select Multiple Start up projects and set Action to Start for Security.AuthenticationServer, Security.IdentityManagementTool and Security.WebAPI.

Assuming you run solution successfuly, to verify that IdentityServer has been configured, bring up Indentity ManagementTool and click on Users on the menu.

The Endpoint that renders the Users view, has been decorated with the Authorize attribute. That means, if you haven’t logged in yet, the IdentityServer will ask you to authenticate by redirecting you to the IdentityServer’s login page as shown below.

You will see that you are redirected to another url. That is the IdentityServerss address. The application requests OAuth 2.0 authorization for the OpenID Connect scopes (openId, profile etc) by redirecting the user to an identity provider.

identityserver's People

Contributors

icedage avatar

Watchers

 avatar  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.