Logging users in through c++ desktop application

I’ve been searching for a bit trying to find out how I could log users in using their forum details in my c++ application. But I haven’t found anything, I did find a post that had a js app thing that did something similar but I have no idea how I can get the correct csrf token.

You’ll need to implementing DiscourseConnect - Official Single-Sign-On for Discourse (sso) in your app.

i don’t want to have 2 account systems, i just want users to login with their forum info on the c++ app

The link I provided describes how to do just that. You can configure your app to authenticate with discourse.

again, not what i’m looking for. but i figured it out anyway.

Can you share your solution? That might help others in the future.

i plan to share once i’m at home.

1 Like