softwerkab / fortnox-csharp-api-sdk

.NET SDK for Fortnox API.
MIT License
52 stars 64 forks source link

No active license for desired scope #245

Closed thejaff2 closed 2 years ago

thejaff2 commented 2 years ago

I have created an Fortnox app and tested the customer connector with StaticCredentials, and it works. Now I have "upgraded" it to the Oauth authorization flow successfully, everything works fine with the user granting access to scopes (in this case, customer and invoice) and redirecting back to my web app (where I store access and refresh tokens in memory). But when trying to use the customer connector now (passing the accessToken wrapped in StandardAuth), I get the following FortnoxApiException: (exception message in Swedish, but translated in the issue title)

(I have tried both with and without using "service account" in both portal and code.)

Githubissues.
  • Githubissues is a development platform for aggregating issues.