An API that connects multiple Microsoft services, enabling data access and automation across platforms
Problem generating API token using the microsoft identity client nugget package
Thomas Patterson
1
Reputation point
So I have a program that fetches an api key using the AcquireATokenFromCacheOrUsernamePasswordAsync method. This has been working for the past 2 months or so and recently it has started producing an API key that has an invalid signature and I can't for the life of me figure out why. The program hasn't been touched since it was deployed, so everything is the same. I have updated the nugget package which has made no difference, and I can't seem to figure out what has gone wrong. The information held within the token is correct but the signature is failing.
Microsoft Security | Microsoft Graph
Microsoft Security | Microsoft Graph
Sign in to answer