Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

Convert Entities.Scope to Models.Scope Error #13

Closed
heavenwing opened this issue Sep 25, 2014 · 3 comments
Closed

Convert Entities.Scope to Models.Scope Error #13

heavenwing opened this issue Sep 25, 2014 · 3 comments

Comments

@heavenwing
Copy link

When I login via Password flow, program validating scopes (on ValidateRequestedScopesAsync method, line 407, _scopes.GetScopesAsync() ) encounter a AutoMapper exception:

AutoMapper.AutoMapperMappingException was caught: "Missing type map configuration or unsupported mapping."

@heavenwing
Copy link
Author

I see.

Becasue I changed DLL Reference from Nuget into sourcecode, (mean that I include IdentityServer.v3 project into Thinktecture.IdentityServer.v3.EntityFramework.sln).

And I found IdentityServer.v3 sourcecode (branch master) have no IsOpenIdScope property on Models.Scope class, and comment code relative to the property. This modification lead to AutoMapper exception.

So, this is reason that I say "sourcecode consistency" in the issue (#11) on the day before yesterday.

@heavenwing
Copy link
Author

My suggestion is that remove IsOpenIdScope property from Entities.Scope, and I did it on my forked repository.

@brockallen
Copy link
Member

The underlying schema did change and the EF code did get updated. Thanks.

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

No branches or pull requests

2 participants