Skip to main content

I have added the subdomain verification logic everywhere in authentication as well as in the Action Api Endpoint I am verifiying the subdomain before calling the url. Still I am unable to pass this warning.
The code I have added is attached below. I am unable to figure out why I am still getting this warning. Please Help.

Also I have an unpublished previous version and then I have worked on a newer version Will both my versions be published if I publish the latest one???

if (!/^[a-z0-9-]+$/.test(bundle.authData.subdomain)) {
throw new Error(
"Subdomain can only contain letters, numbers and dashes (-)."
);
}

Hi ​@aparajeya,

Which authentication type are you using on the integration?

Note that subdomain validation is recommended for an authentication method that uses pre-configured tokens or secret values (for example, OAuth 2).

If you are using a different authentication type, then this may not be necessary.

Cheers,


Reply