Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IdentityServer 4 connect MVC5 as à client

How should I configure MVC 5 to connect to IdentityServer4 is there any example for that? Can't seem to get it to work.

Regards, John

like image 413
John Avatar asked Aug 14 '16 07:08

John


People also ask

What is client in IdentityServer4?

Clients represent applications that can request tokens from your identityserver. The details vary, but you typically define the following common settings for a client: a unique client ID. a secret if needed. the allowed interactions with the token service (called a grant type)

Is IdentityServer paid?

The new Duende IdentityServer continues to be open source, but now has a dual license. This license allows it to be used for free for development, testing, and learning, free for non-commercial open source, and free for use in commercial settings if the entity or organization makes less than 1 million USD/year.

Why should I use IdentityServer?

It's designed to provide a common way to authenticate requests to all of your applications, whether they're web, native, mobile, or API endpoints. IdentityServer can be used to implement Single Sign-On (SSO) for multiple applications and application types.

Is Identity Server 4 open source?

About IdentityServer4IdentityServer is a free, open source OpenID Connect and OAuth 2.0 framework for ASP.NET Core.


1 Answers

Exactly the same as you would connect an ASP.NET MVC 5 client to Identity Server 3. You integrate with Identity Server at the protocol level, there are no implementation specifics, so what integrates with Identity Server 3 can integrate with Identity Server 4.

Check out the Identity Server 3 samples repository which all use the .NET Framework (not Core): https://github.com/IdentityServer/IdentityServer3.Samples/tree/master/source/Clients

There are 5 example MVC 5 clients in that repository.

like image 136
Scott Brady Avatar answered Sep 25 '22 19:09

Scott Brady