Updates redirect uri

This commit is contained in:
Sebastian Rindom
2020-08-23 16:27:50 +02:00
parent 150ff9e7cf
commit 8e116e08f7

View File

@@ -16,7 +16,7 @@ class BrightpearlOauth extends OauthService {
const client_secret = CLIENT_SECRET
const state = randomize("A0", 16)
const redirect =
"https://staging-tekla-admin.medusa-commerce.com/a/oauth/brightpearl"
"https://tekla-staging-admin.medusa-commerce.com/a/oauth/brightpearl"
return {
application_name: "brightpearl",
display_name: "Brightpearl",
@@ -41,7 +41,7 @@ class BrightpearlOauth extends OauthService {
client_id: "medusa-dev",
client_secret: CLIENT_SECRET,
redirect:
"https://staging-tekla-admin.medusa-commerce.com/a/oauth/brightpearl",
"https://tekla-staging-admin.medusa-commerce.com/a/oauth/brightpearl",
code,
}