skoruba / Duende.IdentityServer.Admin

The administration for the Duende IdentityServer and Asp.Net Core Identity ⚡
Apache License 2.0
542 stars 188 forks source link

Scope is not removed from Client when Scope is deleted from the APIScopes table. #176

Open anjanasagathiya opened 9 months ago

anjanasagathiya commented 9 months ago

Hello,

We have integrated the Duende.IdentityServer.Admin with our identity server. And in that, we have found that when ever we delete the scopes from AdminUI, it is removed from the ApiScopes table but it is not removed from ClientScopes table. So can you please give the appropriate suggestion to fix this issue?

skoruba commented 9 months ago

Hi @anjanasagathiya it is very good question - there is no way how to remove api scopes from clients automatically.

You need do it manually.

Let me think about it and create some solution or at least view for it. 👍

Thanks!