# myPlex token for local authentication ...

**URL:** <https://forums.plex.tv/t/myplex-token-for-local-authentication/74679>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [August 23, 2014, 10:54pm UTC](https://forums.plex.tv/t/myplex-token-for-local-authentication/74679 "2014-08-23T22:54:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DonDavici](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@DonDavici](https://forums.plex.tv/u/DonDavici)\
**Post date:** [August 23, 2014, 10:54pm UTC](https://forums.plex.tv/t/myplex-token-for-local-authentication/74679/1 "2014-08-23T22:54:02Z")

</div>

Hi,

&nbsp;

i have a question regarding the tokens.

&nbsp;

i have a local server in my network. i enabled the local authentication. my app (dreamplex) is getting a token for the server no problem.

&nbsp;

but ...

&nbsp;

the user i connect with is a user that should have limited access. e.g. only sections for childs.

&nbsp;

when the user connects i see that the normal token is used ...

&nbsp;

We found auth token (xxxxxxxxxxxxxxxxxx), enabling token-based authentication.  
Aug 24, 2014 00:33:06 [0xf1cc3b70] DEBUG - Refreshing tokens inside the token-based authentication filter.  
Aug 24, 2014 00:33:06 [0xf1cc3b70] DEBUG - HTTP requesting to: [https://plex.tv/servers/xxxxxxxxxxxxxxxxxxx/access\_tokens.xml?auth\_token=xxxxxxxxxxxxxxxxxxxxxx](https://plex.tv/servers/xxxxxxxxxxxxxxxxxxx/access_tokens.xml?auth_token=xxxxxxxxxxxxxxxxxxxxxx)  
Aug 24, 2014 00:33:08 [0xf1cc3b70] DEBUG - MyPlex: Adding yyyyyyyyyyyyyyyyyyas token for 2 sections for DonDavici  
Aug 24, 2014 00:33:08 [0xf1cc3b70] DEBUG - MyPlex: Added 5 super-tokens.  
Aug 24, 2014 00:33:08 [0xf1cc3b70] VERBOSE - Comparing request from 192.168.xx.80 against 127.0.0.1/255.255.255.255  
Aug 24, 2014 00:33:08 [0xf1cc3b70] VERBOSE - Completed request: GET /library/sections: 401

&nbsp;

as far as i can see the token xxxxxx is used to generate another one -\> yyyyyyyyyyyyy when i manually use the yyyyyyyyyy token from log file everything is working as expected.

&nbsp;

now the question is. how can i find out the yyyyyyyyy token not going into the log files.

&nbsp;

i am the developer of dreamplex and would need this information to implement into my third pary plugin.

&nbsp;

any hint would help. thx in advance

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 21, 2019, 2:48am UTC](https://forums.plex.tv/t/myplex-token-for-local-authentication/74679/2 "2019-12-21T02:48:55Z")

</div>

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