SPS' V3 templates. Updated Harri's templates too to update the workato endpoints.
This commit is contained in:
@ -175,7 +175,7 @@
|
||||
var user_id = null
|
||||
var sso_uid = null
|
||||
{% endif %}
|
||||
|
||||
|
||||
analytics.identify({
|
||||
"traits":{
|
||||
"northpass_email": email ,
|
||||
@ -366,9 +366,9 @@
|
||||
if (permissionCookie !== '{{ current_person.properties.cookie_permissions }}') {
|
||||
const xhr = new XMLHttpRequest();
|
||||
{% if current_school.sso_active? %}
|
||||
var url = 'https://www.workato.com/webhooks/rest/997192d2-6726-4f22-afbc-8cf021019896/pipedrive-sso-change-cookie-value'
|
||||
var url = 'https://webhooks.workato.com/webhooks/rest/997192d2-6726-4f22-afbc-8cf021019896/pipedrive-sso-change-cookie-value'
|
||||
{% else %}
|
||||
var url = 'https://www.workato.com/webhooks/rest/4a75076f-e7be-472b-b661-319f34ee9d24/pipedrive-open-change-cookie-value'
|
||||
var url = 'https://webhooks.workato.com/webhooks/rest/4a75076f-e7be-472b-b661-319f34ee9d24/pipedrive-open-change-cookie-value'
|
||||
{% endif %}
|
||||
xhr.open('POST', url);
|
||||
xhr.setRequestHeader('Content-Type', 'application/json');
|
||||
|
||||
Reference in New Issue
Block a user