Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResourceStore: FindApiResourcesByScopeAsync fails #2

Closed
savind opened this issue Nov 4, 2019 · 1 comment
Closed

ResourceStore: FindApiResourcesByScopeAsync fails #2

savind opened this issue Nov 4, 2019 · 1 comment

Comments

@savind
Copy link

savind commented Nov 4, 2019

I can see the api resource stored in the blob container ("idsrv4apiresources")

If I add 'api' as allowed scopes in client, token end point returns 'invalid_scope'.

ResourceStore.FindApiResourcesByScopeAsync returns no result. and hence the validation fails.

If I use In memory resources (identity and api) instead of AddResourceStore, it works fine.

@savind
Copy link
Author

savind commented Nov 4, 2019

Figured it, Scopes needs to be defined for the api resource for it to be valid.
Only concern is, why it works fine for in mem resources.

@savind savind closed this as completed Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant