Documentation Error - Hostname Regex Validation

New Member
1 0 1

The [docs]( provide a regex of






which takes into account the protocol (https|http), but it looks like the hostname from the oauth responses doesn't provide a protocol (eg, ``).


I'm only in development mode, so it might be different in production. Can someone confirm that this is the correct Regex to verify hostnames during the oauth flow.


edit: Using this regex until someone confirms the correct hostname structure:





New Member
2 0 0

I would also like to know the answer to this.

The docs specify a a regex that pertains to a protocol within shop query parameter , however the actual query parameter doesn't contain one.

Thanks for the regex nickk2.

173 13 33

I posted this same thing last month: No response from Shopify. 

The hostname in production also doesn't include http / https.