Adicionar um novo usuário via API

Hello

My forum discourse is integrated with my website using SSO, so all my users are actually at my website DB.

The question is, how can I add users from my website to the discourse forum by API? and how can I check if a user is already added?

Thank you

For the user to use Discourse, they need to be signed in.

With SSO a new account is created when they attempt to log in if one does not exist already, so why not just let it happen organically?

I assume you are using DiscourseConnect?:

2 curtidas

I can’t just let it happen organically as users might use my website without visiting the forum. What I wanted is to leverage the newsletter and notifications feature of Discourse, my website is about virtual lab, where users spend time building things without the need to visit the forum…