-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add zendesk-dev.com domain to allow for scooter #212
Conversation
@@ -283,6 +283,7 @@ function isOriginValid (origin) { | |||
/^https:\/\/.+\.zd-dev\.com$/, | |||
/^https:\/\/.+\.zd-master\.com$/, | |||
/^https:\/\/.+\.zendesk-staging\.com$/, | |||
/^https:\/\/.+\.zendesk-dev\.com$/, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
decrease the scope to specifc region. Currently there are 2 regions
.euc1.scooter.zendesk-dev.com
.usw2.scooter.zendesk-dev.com
and a third in apac is on its way. https://zendesk.atlassian.net/browse/PLAN-7053
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Domain level looks fine to me
08e3c4c
to
ec1f4eb
Compare
lib/client.js
Outdated
@@ -283,6 +283,7 @@ function isOriginValid (origin) { | |||
/^https:\/\/.+\.zd-dev\.com$/, | |||
/^https:\/\/.+\.zd-master\.com$/, | |||
/^https:\/\/.+\.zendesk-staging\.com$/, | |||
/^https:\/\/.+[euc1|usw2]\.scooter\.zendesk-dev\.com$/, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, it seems my previous comment make you confusion. I was trying to say domain level(zendesk-dev.com) looks good enough. Not need to specify into subdomain level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ok. I didnt see the comment from before 😅
ec1f4eb
to
b53b07f
Compare
✌️
/cc @zendesk/vegemite
Description
This PR contains whitelisting scooter domain to the allow list.
Tasks
References
DevQA Steps
NOTE: DevQA steps are to be actioned only once code has been reviewed and approved.
Risks
Rollback Plan