Login Help - Correct way to login

Hello All,

Though there are so many posts regarding login and SSO, I just wanted to be sure, I implement the right thing.

I have a html page (Front End) with bootstrap Angular. It has a specific theme, it will be like a dashboard, pulling various articles from discourse and showing in various sections. Discourse page will be shown when user clicks on certain article and then he will use all discourse features like reply etc.

So for this html page, we need to show a custom login. It should log the user into discourse and then if they click on an article in the front end, it should be able to show that topic with out extra login. We are using Rest api and were able to find all api’s except login. As far as possible we want to have a regular login and not an external one like google or any other.

What is the correct way of doing this?


I think you want DiscourseConnect - Official Single-Sign-On for Discourse (sso).