Questions and discussions about using the Shopify CLI and Shopify-built libraries.
Is the base64 encoded host param regular b64 or is it "URL safe" (`+` is `-` and `/` is `_`) base64 like it is with the JWTs?
Hey @darrynten -
The host parameter is both base64 and url encoded.
Thanks,
Jeff
To learn more visit the Shopify Help Center or the Community Blog.
Hi Jeff,
I'm still confused.
To clarify my question - would the base64 of `example.myshopify.com/admin` be:
1) `ZXhhbXBsZS5teXNob3BpZnkuY29tL2FkbWluCg__`
or
2) `ZXhhbXBsZS5teXNob3BpZnkuY29tL2FkbWluCg==`
or
3) `ZXhhbXBsZS5teXNob3BpZnkuY29tL2FkbWluCg%3D%3D`
Also, is there a newline at the end of the string, and how are `+` handled?
Thanks!