I am sorry to ask this question, but I have been going through many different topics to answer my question but have been struggling with understanding this topic.
(Official Single-Sign-On for Discourse (sso))
Basically I have an existing website (developed by myself in PHP over Symfony framework) with an existing specific registration system and obviously login system.
I have installed Discourse and I would like Discourse to use this website to use my existing website user database for authentication. I have understood how to configure Discourse to ask it to connect to my existing website but now need to develop some code to implement some kind of SSO server for my website.
Is there some HTML/PHP example of such code?