Not applicable

@Rajesh Mushke You can create a Script Include in the global scope to handle the base64 encoding and then call this Script Include from your Salesforce spoke action.

Or you can explicitly allow cross-scope access by adding a Cross-Scope Access Rule.