Integrating existing webapplication with Jira cloud using single sign on

Initially i was thinking of using my web application as a atlassian connect add on where i wanted to implement single sign on machenism for my application so that i can redirect to my jira cloud account from my application without providing the credentials for jira account. Later i came to know that i can not use SSO from my atlassian add on.
So now i am thinking of going through another approach where i would use an open source SSO framework like CAS to integrate my application with my jira account. Can somebody please share some thoughts over this.