# Provide opts.user for library plugin

**URL:** <https://discourse.nodered.org/t/provide-opts-user-for-library-plugin/77121>\
**Category:** Feature Requests\
**Created:** [31 March 2023 19:13 UTC](https://discourse.nodered.org/t/provide-opts-user-for-library-plugin/77121 "2023-03-31T19:13:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![heunghingwan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/heunghingwan/32/75165_2.png) [@heunghingwan](https://discourse.nodered.org/u/heunghingwan)\
**Post date:** [31 March 2023 19:13 UTC](https://discourse.nodered.org/t/provide-opts-user-for-library-plugin/77121/1 "2023-03-31T19:13:38Z")

</div>

User object exists in the api but is not passed to library function

> <https://github.com/node-red/node-red/blob/f1fa1bbe4e5b383f12212d7168f864009f7e2682/packages/node_modules/%40node-red/runtime/lib/api/library.js#L49-L61>

If passed to library function, it is possible to build user personal libraries when using oauth

> **[GitHub - node-red/node-red-library-file-store](https://github.com/node-red/node-red-library-file-store)**
>
> Contribute to node-red/node-red-library-file-store development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 May 2023 19:13 UTC](https://discourse.nodered.org/t/provide-opts-user-for-library-plugin/77121/2 "2023-05-30T19:13:50Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
