IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Scope can be assigned even if it is not existing

Open bertschronja opened this issue 4 years ago • 1 comments

Issue

ClientScopes (ApiScopes and IdentityResources) can be assigned to clients even if the scopes do not exist. Same applies for ApiResourceScopes that are not created in table ApiScopes.

Steps to reproduce

Assign an ApiScope to a client (do NOT create it in ApiScopes)

bertschronja avatar Jun 17 '21 14:06 bertschronja

For context: you mean in the EF entity model.

leastprivilege avatar Jun 17 '21 18:06 leastprivilege