Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

Identity Server 3 compatibility #17

Closed
senj opened this issue Jun 1, 2016 · 4 comments
Closed

Identity Server 3 compatibility #17

senj opened this issue Jun 1, 2016 · 4 comments
Labels

Comments

@senj
Copy link

senj commented Jun 1, 2016

Hi,

I'm writing Services with Asp.Net Core but we still have an Identity Server 3.
Can I use Token Validation in Core with the Identity Server 3?

Thanks..

@leastprivilege
Copy link
Member

yes

@valeriob
Copy link

valeriob commented Jun 1, 2016

I'm not able to use IdentityServer4.AccessTokenValidation against identity server 3 with reference token.

AccessTokenValidation v3 config :
app.UseIdentityServerBearerTokenAuthentication(new IdentityServerBearerTokenAuthenticationOptions { Authority = "https://localhost:44333/core", RequiredScopes = new[] { "myScope" }, });

AccessTokenValidation v4 config :

app.UseIdentityServerAuthentication(new IdentityServerAuthenticationOptions { Authority = "https://localhost:44333/core", ScopeName = "myScope", });

i get 401 and i'm not able to diagnose the problem, i've no clue what UseOAuth2IntrospectionAuthentication is :D

I could get the system working by using JWT token with Microsoft.AspNetCore.Authentication.JwtBearer thought

@leastprivilege
Copy link
Member

you need to specify a scope secret.

Unauthenticated token introspection is not supported anymore in idsrv4

@valeriob
Copy link

valeriob commented Jun 1, 2016

Ouch, that's an entire afternoon gone :D now it works thanks !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants