Setup in Frill:
1. Go to
https://YOUR_FRILL_DOMAIN.frill.co/settings/company/sso2. Add your redirect URL, this will be the page you authenticate your users at. For example, your /auth page.
3. Input the SSO token given by Frill into the plugin in the plugin page
Then move onto the next step with the setup in Bubble.
Setup in Bubble:
1. Create a "When page is loaded" event in your auth page with a condition of "Get data from URL" specifying the parameter to be "redirect" is not empty and Current User is logged in
2. Add the "Sign in with SSO" action within that event
3. Add the "Open an external website" action within the event. When you are initializing SSO with Frill, in "Destination" you will need to include: "
https://YOUR_FRILL_DOMAIN.frill.co/settings/company/sso?ssoToken=Result from previous step"
Then navigate to
https://YOUR_FRILL_DOMAIN.frill.co/settings/company/sso and click the "Test the redirect flow" button.
Once it has been successfully initialized, then you can change the destination URL to:
https://YOURFRILLDOMAIN.frill.co/?ssoToken=Result from previous step