# Getting signed data from the server

**URL:** <https://meta.discourse.org/t/getting-signed-data-from-the-server/95084>\
**Category:** Development\
**Created:** [August 19, 2018, 6:23am UTC](https://meta.discourse.org/t/getting-signed-data-from-the-server/95084 "2018-08-19T06:23:17Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![EGreg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/egreg/32/133614_2.png) [@EGreg](https://meta.discourse.org/u/EGreg)\
**Post date:** [August 19, 2018, 6:23am UTC](https://meta.discourse.org/t/getting-signed-data-from-the-server/95084/1 "2018-08-19T06:23:17Z")

</div>

Hey all. This question is to the developers, including @codinghorror possibly. I would like our [platform](http://qbix.com/platform) to integrate with Discourse seamlessly. In order for this to happen, a user authenticating with Discourse needs to also authenticate with our platform at the same time and with the same id every time.

I see in Javascript that I can call `Discourse.User.current()` and get a wealth of info including the user id. But, we cannot trust client input. Is there a way to get this information (some of it, at least the user id) _signed_ by the server? This is what Facebook does, for example, with [signed\_request](https://developers.facebook.com/docs/reference/login/signed-request/) .

This would be really useful in allowing outside software like ours, which may not have necessarily been written in the same programming language and may not have access to the same server, to still work alongside yours and integrate seamlessly with it. Together with webhooks, it can do a lot.

---

_[View the full topic](https://meta.discourse.org/t/getting-signed-data-from-the-server/95084)._
