# How to get current login username from onebox?

**URL:** <https://meta.discourse.org/t/how-to-get-current-login-username-from-onebox/57061>\
**Category:** Development\
**Created:** [February 7, 2017, 1:45pm UTC](https://meta.discourse.org/t/how-to-get-current-login-username-from-onebox/57061 "2017-02-07T13:45:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![joebuhlig](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joebuhlig/32/193054_2.png) [@joebuhlig](https://meta.discourse.org/u/joebuhlig)\
**Post date:** [February 8, 2017, 10:57pm UTC](https://meta.discourse.org/t/how-to-get-current-login-username-from-onebox/57061/2 "2017-02-08T22:57:23Z")

</div>

I may be wrong but I don’t think it’s possible to pull Discourse objects into the Onebox gem without requiring them as a dependency in some way. And even then, I’m not sure it’s a wise move. I think of Onebox as a separate entity that doesn’t require Discourse.

---

_[View the full topic](https://meta.discourse.org/t/how-to-get-current-login-username-from-onebox/57061)._
