Grails Single-Sign-On for Discourse

Hi everyone,

Very new to discourse sso. Can anyone advise how does the implementation of SSO logic work on Grails Application or maybe some other framework applications?