I read this topic. Makes sense, and I guess I’m asking the following: Does Discourse support the other way? Suppose I already have a lot of users on Discourse, and I don’t want all those users to re-register using MY SSO and somehow claim the account. I want to use their existing Discourse login, and seamlessly integrate with it.
In other words, I want to use Discourse web hooks that say when a user registered, and create a corresponding user account for them on our app. And if they visit our app while logged into Discourse (regardless of whether they used Google, Facebook or other method to authenticate with Discourse) then I would like to get a signed payload of the data I found in Discourse.User.current() or some subset that at least includes the id. Sorry if I am not making myself clear … I want to go the other way and add a new app to an existing Discourse community, not the other way around.