# Use discourse for SSO in a non-web app?

**URL:** <https://meta.discourse.org/t/use-discourse-for-sso-in-a-non-web-app/40584>\
**Category:** Development\
**Created:** [March 4, 2016, 6:46pm UTC](https://meta.discourse.org/t/use-discourse-for-sso-in-a-non-web-app/40584 "2016-03-04T18:46:50Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![BillyTheFisherman](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@BillyTheFisherman](https://meta.discourse.org/u/BillyTheFisherman)\
**Post date:** [August 5, 2022, 8:15pm UTC](https://meta.discourse.org/t/use-discourse-for-sso-in-a-non-web-app/40584/13 "2022-08-05T20:15:51Z")

</div>

Hi so I’m trying to do a similar thing to the OP i.e. integrate this into an interactive app, a C++ windows app. Lets call it a game for arguments sake.

So I can use CURL to issue commands to my discourse instance (as shown above) and that works but what are the security implications of this?

For example the password is being passed as plain text above is there anyway to send an encrypted version? Is this how a web browser would send the password? I’m wanting to store the encrypted password in my app.

Also what would be the CURL commands for creating a new user?

Does anybody know of a C++ project that has public source I can follow - I had a look on GitHub with no success.

Many thanks

---

_[View the full topic](https://meta.discourse.org/t/use-discourse-for-sso-in-a-non-web-app/40584)._
