Login automatic without clicking button "login"

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 Like

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 Like

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 Likes