hi , i follow this OAuth2 Basic Plugin and i have my react website have login with auth0 I want to do one thing if i login in my website and i go in discourse i want login automatic without clicking a button “login” and without set discourse “login required” how can i do that?
1 个赞
To start the login process immediately, you could link users directly to the /login URL. If OAuth2 is the only enabled login method, users will be redirected straight to the identity provider.
1 个赞
thanks very much for your reply.
but i have a condition if the user has login in my app and he visit my discourse forum from google or may be from link forum-dsicourse.com . Is there a way for login automatic ?
Unfortunately not, unless you enable ‘login required’.
2 个赞
@david 我刚刚创建了我的 discourse 社区,但不明白为什么没有账户的人无法访问。链接直接跳转到登录页面。
我在设置中找不到将其设为公开并仅在想要点赞和评论主题时才需要账户的选项。你能帮帮我吗?