# Handle multiple user using Plotly OAuth

**URL:** <https://community.plotly.com/t/handle-multiple-user-using-plotly-oauth/14346>\
**Category:** Dash Python\
**Created:** [October 8, 2018, 2:51pm UTC](https://community.plotly.com/t/handle-multiple-user-using-plotly-oauth/14346 "2018-10-08T14:51:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pyre](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@pyre](https://community.plotly.com/u/pyre)\
**Post date:** [October 8, 2018, 2:51pm UTC](https://community.plotly.com/t/handle-multiple-user-using-plotly-oauth/14346/1 "2018-10-08T14:51:36Z")

</div>

I read Dash authentication documentation and wonder how is it possible to handle multiple users through Plotly OAuth. As it uses `os.environ['PLOTLY_USERNAME']` and `os.environ['PLOTLY_API_KEY']` variable hardcoded in the code?

---

<div class="post-metadata">

**Author:** ![Philippe](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/philippe/32/3521_2.png) [@Philippe](https://community.plotly.com/u/Philippe)\
**Post date:** [October 8, 2018, 4:30pm UTC](https://community.plotly.com/t/handle-multiple-user-using-plotly-oauth/14346/2 "2018-10-08T16:30:27Z")

</div>

Those credentials are for the app creator, the users need to enter their own credentials when they login.
