DEV Community

Cover image for Setting up an Authorization Server with OpenIddict - Part I - Introduction

Setting up an Authorization Server with OpenIddict - Part I - Introduction

Robin van der Knaap on December 11, 2020

This article is part of a series called Setting up an Authorization Server with OpenIddict. The articles in this series will guide you through the...
Collapse
 
enissay profile image
Enissay

It would be nice to make a refresh for .Net8

Collapse
 
luisapplivity profile image
LuisApplivity

Not really, all of this works in .NET 8, 9 and 10 as is. All of this tutorial worked for me with .NET 8 out-of-the-box. It should also work with ASP.NET Core 2.3 and .NET Framework 4.8, with a few easy adjustments here and there.

OpenIddict refreshes, however, could be a thing. Other than adjusting the casing for a few method names, IIRC all of this tutorial also works all the way up to the current latest version, OpenIddict 7.0.0.

It could use an NHibernate update, though, especially now that someone put out a library for that, here.

Nonetheless, this tutorial is by far the best one I have come across so far in order to get started with implementing an OpenID Connect server (to be a reliable IdP) and client. It is also very helpful even for those who are already experienced in the subject. Great stuff worth the time to spend on!

Collapse
 
mahmoudalaskalany profile image
Mahmoud Alaskalany

is it free for .net core 5

Collapse
 
robinvanderknaap profile image
Robin van der Knaap

Yes

Collapse
 
huafist profile image
Rob Hall

I'm not sure what I'm doing wrong, but I can't seem to make it past the first part of the walkthrough. I created the app, but after the first round of modifications, when I should see "MVC is working", I still see "Hello World", and I can't seem to figure out why that is happening.

Collapse
 
robinvanderknaap profile image
Robin van der Knaap

Hi Rob,

Not sure what's going wrong, but perhaps you are working on a different version of Dotnet. This tutorial is build with version 6. I haven't got around updating this tutorial yet.

Collapse
 
luisapplivity profile image
LuisApplivity • Edited

No need to, Robin, it worked great for me with .NET 8 with no changes being required. Thanks for the great walkthrough!

Thread Thread
 
robinvanderknaap profile image
Robin van der Knaap

Thanks for the compliment, good to hear it worked with .NET 8.

Collapse
 
kev4ever profile image
Kevin van Schaijk

Great article, very helpful!

Collapse
 
keatkeat87 profile image
keatkeat87

Really good article and examples. It saves me so much time.Thank for sharing.

Collapse
 
mkoyuncu profile image
mkoyuncu

If you use SqlServer like me, after each part don't forget to delete postman application row in db. It caused me get too many errors.