With SSO my user still need to hit the login button

AI-generated summary

The discussion revolves around resolving an issue with Single Sign-On (SSO) in a Discourse instance. Stackfish is experiencing a glitch where users need to click the login button to authenticate, despite being logged in on the main site. dansingerman suggests using a link format (https://our.discourse.server/session/sso?return_path=/where_we_want_to_link_to) to resolve the issue.

Stackfish successfully implements the solution by using the link http://forums.stackfish.com/session/sso. Clayton seeks help with setting the return_path for their SSO URL, and Stackfish points them to the official Discourse SSO documentation for instructions.

simon provides an additional resource, a Discourse meta topic on creating an SSO login link, which offers instructions for automatically logging users into Discourse from the SSO provider site.

I’ve implemented SSO for my discourse instance but I have one little glitch I’d like to resolve.

If a user is logged on my main site and thet click on a link to my discourse site, they are presented with the Login button. Once the hit the login button, they are then logged in without any further actions (entering password, etc).

Does anyone know how to configure the sites so my user’s will not have to hit the Login button when they go to our discourse site?

Thanks

We resolved this by using links of this format

https://our.discourse.server/session/sso?return_path=/where_we_want_to_link_to

Thanks for the tip!

Is where_we_want_to_link_to the url back to your main site?

Got it

http://forums.stackfish.com/session/sso

Resolved the issue. Thanks!

Hi,

we have a similar issue, can you please help with exactly where to set return_path

our sso url is https://bodywizards.gopaywall.com/discoursesso.php

Thanks.

Hey Clayton,

I followed the instructions here: Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)
for setting the return path.

Jim

Create a DiscourseConnect login link gives instructions for creating a link that will automatically log users into Discourse from the SSO provider site.