App Bridge 2 Host Param Base64 Format

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

Hi Jeff,

I’m still confused.

To clarify my question - would the base64 of example.myshopify.com/admin be:

  1. ZXhhbXBsZS5teXNob3BpZnkuY29tL2FkbWluCg__

or

  1. ZXhhbXBsZS5teXNob3BpZnkuY29tL2FkbWluCg==

or

  1. ZXhhbXBsZS5teXNob3BpZnkuY29tL2FkbWluCg%3D%3D

Also, is there a newline at the end of the string, and how are + handled?

Thanks!