Can I add a OAuth login to an existing account?

I’m setting our Discourse site up and would like to test OAuth logins without having to create a bunch of users. Is there a way I can add an OAuth login to my email/password account? I don’t see anything in the user preferences screen or in the admin.

Simplest is to trust email from the OAuth provider, then sign in and it will magically auto-associate to existing account.

1 Like

hmm, that sounds like it would do what I want but I don’t see any relevant settings. Is that enabled by default?

Depends on the OAuth plugin you are using, for the out-of-the-box Google provider it is enabled by default.

1 Like

Looks like it worked for both Google and Github. Thanks!