Start from the ground up to build your first single sign-on (SSO) solution with IdentityServer.
Our getting started with the single sign-on (SSO) learning path that will provide you with multiple learning methods to begin your understanding of SSO.
Prerequisites
- Be able to build and follow a .NET tutorial
- Have Docker installed (only required for the IdentityServer and AdminUI proof of concept)
- A developer .NET environment
What You Will Learn
You will learn foundational knowledge of the protocols that IdentityServer implements: OAuth 2.0 and OpenID Connect:
- Build your first IdentityServer solution
- Build an integrated client application
- Install AdminUI to manage both users and client applications
-
1.
OAuth and OpenID Connect
02:00-
Information
In our opinion, the best way to start is to is by getting an understanding of the underlying protocols that IdentityServer implements: OAuth and OpenID Connect.
IdentityServer itself is a framework that provides a vanilla implementation of these protocols, and understanding how they work will help when it comes to architecting and debugging your solution.
The next three options provide different formats for you to grasp the basics of the underlying protocols.
-
Getting started with OAuth 2.0
A good starting point is this 1.5-hour Pluralsight course by IdentityServer.com's Scott Brady that covers everything from why OAuth is the preferred solution for API security, the various flows available to you, and security best practices.
-
OAuth in Action
If you prefer learning from a textbook, we recommend OAuth in Action by Justin Richer and Antonio Sanso.
This again takes you through the various topics around OAuth and OpenID Connect, but you can also follow along with the code samples, hacking together a basic OAuth authorization server written in JavaScript. While this may not be production-ready, if you prefer a hands-on learning approach, this can be really useful.
-
OAuth 2.0 and OpenID Connect (in plain English)
In one of the most respected videos in the identity space, developer Nate Barbettini breaks down how OAuth 2.0 and OpenID Connect work.
A great video for beginners who are very new to the Identity space.
-
-
2.
Building Your First Proof of Concept
03:00-
All-in-one
Now that you have the fundamentals of OpenIDConnect and OAuth, it's time to start building a proof of concept where you can prove SSO working.
To make this as easy as possible, we have a Docker image that includes IdentityServer and a UI to manage it (AdminUI). Additionally, install a sample client app for testing.
If you would rather build the solution from scratch you can skip this step and move to "Building Your First Solution".
-
-
3.
Building Your First Solution
04:00-
Getting started with Duende IdentityServer
Now it is time to build a solution where you have full control.
This video tutorial series will guide you in:
- Installing Duende IdentityServer with In-Memory Stores
- Writing an API Client
- Writing a Web client, that will also call the API
- Updating Duende IdentityServer to use Entity Framework Stores
- Update Duende IdentityServer to use ASP.Net Identity for its user store
-
Let Us Help You
- Have you reached an impasse with your IdentityServer solution?
- Unsure how to make your solution production ready?
- Want to add new features but don't know how?
Get in touch and we can guide you in building your perfect solution.
-
-
4.
Optional: Expanding Your Solution
02:00-
Additional Learning
Want to expand your knowledge further, consider the following articles and videos:
-
-
Complete
From everyone at Rock Solid Knowledge, congratulations on creating your first IdentityServer solution.
Need Help?
If you have any questions or need further assistance, please get in touch.
Or call +44 333 939 8119