What you want most likely requires developing custom code. The task is doable however it is not suitable for moodlecloud sites.
As you can see here:
You can only use plugins already available to your site but not add any third-party or custom plugin/code.
Your options are:
- forget sso and keep things as they are
- seek out moodle partner/certified consultant-developer and solve this problem with them