FDK setup literal string issues, FDK was expecting saleschannel not application for auth
This commit is contained in:
parent
27bce88572
commit
1a86cea207
|
|
@ -33,7 +33,7 @@ function createFdkExtension() {
|
||||||
api_secret: apiSecret,
|
api_secret: apiSecret,
|
||||||
base_url: trimTrailingSlash(baseUrl),
|
base_url: trimTrailingSlash(baseUrl),
|
||||||
cluster,
|
cluster,
|
||||||
scopes: ['company/applications/read'],
|
scopes: ['company/saleschannel', 'company/application/settings'],
|
||||||
callbacks: {
|
callbacks: {
|
||||||
auth: async (req) => buildRedirectUrl(baseUrl, req?.fdkSession?.company_id || req?.query?.company_id || ''),
|
auth: async (req) => buildRedirectUrl(baseUrl, req?.fdkSession?.company_id || req?.query?.company_id || ''),
|
||||||
uninstall: async (req) => {
|
uninstall: async (req) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user