I'm having trouble understanding how/where these keys should be formatted / placed in the appsettings.json file that replaces the web.config in Umbraco 9! any help is very welcome, thanks!
I tried this very setup, however still getting same error in the backoffice plugin:
"No access token or OAuth configuration could be found. Please review
your settings before continuing."
I tried the documentation suggested setup in Umbraco 8, with the same accesstoken etc. where everything works fine. So I'm still not sure if this nested format is right (?) or if its a version specific issue (Umbraco version 9.3.1)
It's for a different integration, but it seems to be based on the same source, so you'd think it should be similar.
Perhaps your issue is related to this:
"If you prefer not to use an API key, an authentication flow using OAuth is also available.
To use this, simply ensure you don't have an API key in your configuration file.
Thank you! The linked test-site example did reveal I was missing "Settings" in the configuration, which was not really clear reading the provided documentation. For anyone wondering how it should look:
Umbraco 9 - translating web.config key (umbraco 8) to umbraco 9 (appsettings.json)
Trying to get started with umbraco 9 and the following package https://our.umbraco.com/packages/backoffice-extensions/shopify-umbraco-cms-integration/
The documentation reads:
I'm having trouble understanding how/where these keys should be formatted / placed in the appsettings.json file that replaces the web.config in Umbraco 9! any help is very welcome, thanks!
It basically says so already in the path of the key:
For example:
Same for the other keys.
I tried this very setup, however still getting same error in the backoffice plugin:
I tried the documentation suggested setup in Umbraco 8, with the same accesstoken etc. where everything works fine. So I'm still not sure if this nested format is right (?) or if its a version specific issue (Umbraco version 9.3.1)
On the source site is an example testsite, which also contains an appsettings.json example, hope this helps:
https://github.com/umbraco/Umbraco.Cms.Integrations/blob/3878f36c07343a9ffb74c08ec5a136e3670d5424/src/Umbraco.Cms.Integrations.Testsite.V9/appsettings.json
It's for a different integration, but it seems to be based on the same source, so you'd think it should be similar.
Perhaps your issue is related to this: "If you prefer not to use an API key, an authentication flow using OAuth is also available. To use this, simply ensure you don't have an API key in your configuration file.
Thank you! The linked test-site example did reveal I was missing "Settings" in the configuration, which was not really clear reading the provided documentation. For anyone wondering how it should look:
is working on a reply...