Read doc and OpenID connect spec then may be? We have extensive docs on OpenID connect. After that try to add a simple vanilla one page app in your Gluu Server so it will give you how a 'SSO might work' scenario.
After that, please ask question with specific points and log files as much as possible.