# Digest authentification und RestAPI

**URL:** <https://community.wowza.com/t/digest-authentification-und-restapi/96167>\
**Category:** Wowza Streaming Engine\
**Tags:** rest-api\
**Created:** [May 23, 2023, 10:35am UTC](https://community.wowza.com/t/digest-authentification-und-restapi/96167 "2023-05-23T10:35:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Billings](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@Sam\_Billings](https://community.wowza.com/u/Sam_Billings)\
**Post date:** [May 23, 2023, 10:35am UTC](https://community.wowza.com/t/digest-authentification-und-restapi/96167/1 "2023-05-23T10:35:21Z")

</div>

I use RESTInterface AuthenticationMethod = digest, and PasswordEncodingScheme = sha256. After putting the sha256 hash in the admin.password file, i was able to log in through wowza streaming engine manager, but not via REST API. It keep saying: {“message”:“The request requires user authentication”,“success”:false,“code”:“401”}

I am using the usernamne and the hash i from the admin.password file to log in via rest api. Anyone has any clue?

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [May 23, 2023, 2:16pm UTC](https://community.wowza.com/t/digest-authentification-und-restapi/96167/2 "2023-05-23T14:16:43Z")

</div>

> [@Sam\_Billings](#):
>
> After putting the sha256 hash in the admin.password file, i was able to log in through wowza streaming engine manager, but not via REST API. It keep saying: {“message”:“The request requires user authentication”,“success”:false,“code”:“401”}
> 
> I am using the usernamne and the hash i from the admin.password file to log in vi

Have you tried adding the password to the REST API client that’s not encrypted?  
When adding a new username and password via Wowza Streaming Engine Manager, the password you enter will be plain text but it’s saved using the active encryption method so that it can’t be read as plain text.

In other words, the encryption is just for the storage of the password and it will be decrypted before it’s used. So, you should be using the actual password (not the encrypted version) for the REST API client.

I hope this helps. If not, or if you have further issues, I recommend creating a ticket with the Support Team via your account portal once you’re logged in.  
`https://portal.wowza.com/account/info`

Regards,  
**Jason Hilton**  
Senior Technical Support Engineer  
**WOWZA** | _The__solution you start with, the partner you scale with._

---

<div class="post-metadata">

**Author:** ![Sam\_Billings](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@Sam\_Billings](https://community.wowza.com/u/Sam_Billings)\
**Post date:** [May 24, 2023, 12:33pm UTC](https://community.wowza.com/t/digest-authentification-und-restapi/96167/3 "2023-05-24T12:33:17Z")

</div>

thx for the infos. I got it work now.
