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

Unable to get access token #72

Open
viragneilsoft opened this issue Dec 9, 2024 · 1 comment
Open

Unable to get access token #72

viragneilsoft opened this issue Dec 9, 2024 · 1 comment
Labels
area/identity-model Issues related to Identity Model

Comments

@viragneilsoft
Copy link

I am trying to authorize different services. Few of services are getting authorized successfully and receiving access tokens. But while authoring one of the service using DiscoveryCache, GetAsync() method throwing exception which is not getting tracked and program execution is stopped. Following are line of code written from which second line is responsible for breaking program execution.

var discoveryCache = new DiscoveryCache(authority);
var discovery = await discoveryCache.GetAsync();

@josephdecock
Copy link
Member

It looks like the discovery cache can possibly suppress some errors in some cases. Do you get a more useful error if you make a discovery request without the cache?

@josephdecock josephdecock added the area/identity-model Issues related to Identity Model label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/identity-model Issues related to Identity Model
Projects
None yet
Development

No branches or pull requests

2 participants