Forum Academy Marketplace Showcase Pricing Features

How to automate base64 encryption with bubble

Hello,

I’m trying to get single sign on working for discourse.
This requires base 64 encryption of the message.

Can anyone suggest how I can perform this encryption o. Bubble?

Use @mishav s plugin to run javascript code from a workflow and use the following code
btoa(unescape(encodeURIComponent(theStringYouWannaEncode))))

then you can run it from yout workflows and pass the response to the Discourse API.

@gurun

Thank’s that’s great.
I’m trying to setup SSO with my discourse forum.

The steps are given below, and what you suggested should really help.

Have you by any chance setup SSO in bubble?

@romanmg

Hey Gaby,

Will the above suggestion solve our issue with SSO?

Will need to try it during our session! :slight_smile:

This topic was automatically closed after 70 days. New replies are no longer allowed.