# Shared Server authentication

**URL:** <https://forums.plex.tv/t/shared-server-authentication/23432>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [November 20, 2012, 5:59pm UTC](https://forums.plex.tv/t/shared-server-authentication/23432 "2012-11-20T17:59:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![emha](https://avatars.discourse-cdn.com/v4/letter/e/3ab097/32.png) [@emha](https://forums.plex.tv/u/emha)\
**Post date:** [November 20, 2012, 5:59pm UTC](https://forums.plex.tv/t/shared-server-authentication/23432/1 "2012-11-20T17:59:04Z")

</div>

Hi all,  
  
  
  
I’am also working on the plex (client) for Raspberry Pi and would like to use the shared contents but don’t know how to authenticate. When accessing a shared file I get the error “401 unauthorized”. I have my auth-code (do I need it?) but don’t know, how to authenticate with the server so that I’am authorized to access the file. Do I have to send a header or something? I tried to bind this get variable to the url

```auto

?X-Plex-Token=AUTH-TOKEN

```

  
  
but this don't work. (I saw this in some posts and thought maybe it could work).  
  
Can anyone help me?  
  
emha

---

<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 20, 2019, 10:26pm UTC](https://forums.plex.tv/t/shared-server-authentication/23432/2 "2019-12-20T22:26:02Z")

</div>

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