I have an .NET Core API, which uses on-behalf flow to obtain token for K2 API. It works fine for past few months, and suddenly it’s not working. Every call to the K2 REST API returns with a 401 error.
Would anyone please suggest what could gone wrong?
Below is the code I used to obtain token for K2 API.
