IdentityServer / IdentityServer3.AccessTokenValidation

OWIN Middleware to validate access tokens from IdentityServer3
Apache License 2.0
90 stars 149 forks source link

ASP.net 5 mv6 support #56

Closed sethreidnz closed 8 years ago

sethreidnz commented 8 years ago

Hi, I'm not sure if I am just being dense but I try to install either version of IdentityServer3.AccessTokenValidation (2.3 or 1.2.2) and neither of them seem to get referenced correctly for me..

They both list dependency of:

Microsoft.AspNet.WebApi.Client (>5.2.2).

Does this work with MV6? If so what am I doing wrong? Or is the correct approach to use:

app.UseOAuthBearerAuthentication(options =>
            {
                options.Authority = “https://localhost:44300″;
                options.Audience = “https://localhost:44300/resources”;
                options.AutomaticAuthentication = true;
            });
mikeandersun commented 8 years ago

See https://github.com/IdentityServer/IdentityServer3.AccessTokenValidation/issues/34

tugberkugurlu commented 8 years ago

:+1:

leastprivilege commented 8 years ago

If anybody wants to work on that - feel free. I am too busy right now.

tugberkugurlu commented 8 years ago

I am willing to look at this. Which approach would you like to do this through?

leastprivilege commented 8 years ago

Cool!

A pure ASP.NET 5 MW would be best. With the same feature set as the Katana one (at least that would be the end-goal).

I will work on compiling IdentityModel for DnxCore soon - which includes some of the base functionality.

tugberkugurlu commented 8 years ago

Cool, I think as a first pass, making this work under dnx451 should be sufficient.

tugberkugurlu commented 8 years ago

assign this issue to me whenever you think it's OK to start.

leastprivilege commented 8 years ago

We added you to a new team - and there is also a new repo

https://github.com/IdentityServer/IdentityServer4.AccessTokenValidation

go! ;)

tugberkugurlu commented 8 years ago

Cool, I will get on that!

leastprivilege commented 8 years ago

dnxcore should actually not be a problem.