I am successfully created SSO Login. but problem is that whenever I am Login through SSO every time I have to click on Login button.
But I found a method that doesn’t require me to click the login button. The solution is, I disable the login required settings. and I call forum.mywebsite.com/login which calls login button automatically, but if I disable login required then login button does not call.
I don’t want to give anonymous access to my website. So I can’t use this method.
I don’t understand the question, pardon me if I’m not helpful.
If you enable login required, disable local logins and let the SSO be your only login method, anyone who visits your forum will be presented with a page which has a login button. Once they log in via SSO, they should remain logged in hence no need to click login multiple times. This way anons can not see the site without logging in first.
You’re saying that if you have logged in on your SSO site and later visit Discourse you have to click the Login button for Discourse to now that you’re logged in? And what happens when you click the login button?
If you don’t want to allow anonymous access to your site then you do want to enable login_requred.
forum.mywebsite.com/login call my community(discourse community) website login page. then user who logged in main website is automatically logged as in community website(when I disabled login required setting of community website). But problem is that when I enable login required then login page does not call automatically. I have to click login button manually then It will logged the community page.