No login methods when using Discourse Connect only

Tried locally and it worked fine.

As soon as I enter the topic page as “anon” I’m being redirected to the /sso endpoint which then redirects to the local “discourse connect” I have setup & configured (on localhost:5000).

When I try https://community.adn-soft.com/t/-/69

I’m being redirected to the /login endpoint :thinking:

Looking at the code, and especially the redirect_to_login callback, I can see we’ll only redirect to the /sso endpoint when bothdiscourse connect” is enabled as well as the “auth immediately” site setting

By default, that site setting is enabled, but when I disable it, then

So my guess is that you have that site setting disabled and you should enable it to make it work :+1:


Note: I’m not entirely sure why this site setting exists, but I’m in the process of getting rid of it along with a bunch of other auth-related fix.

1 Like