# FMS URL inline username and password format for RTMP publishing

**URL:** https://community.wowza.com/t/fms-url-inline-username-and-password-format-for-rtmp-publishing/43298
**Category:** Wowza Streaming Engine
**Created:** [June 27, 2014, 4:09pm UTC](https://community.wowza.com/t/fms-url-inline-username-and-password-format-for-rtmp-publishing/43298 "2014-06-27T16:09:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Miguel\_Angelo\_Cabral](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@Miguel\_Angelo\_Cabral](https://community.wowza.com/u/Miguel_Angelo_Cabral)
#### Post date: [June 27, 2014, 4:09pm UTC](https://community.wowza.com/t/fms-url-inline-username-and-password-format-for-rtmp-publishing/43298/1 "2014-06-27T16:09:19Z")

</div>

Hi,

We’ve been trying to push RTMP streams from our encoder to Wowza. It only works if there is no authentication (open) but when we require password authentication we can’t stream anymore.

The username and password has to be inline with the RTMP URL since the encoder doesn’t have separate prompt / UI field for username and password. We already tried different formats for the URL but all doesn’t work. Here are the publish URLs we tried:

rtmp://[user]:[pass]@[wowza-ip]/[app]

rtmp://[user]:[pass]@[wowza-ip]:1935/[app]

rtmp://[wowza-ip]/[app]/?[user]&[pass]

rtmp://[wowza-ip]:1935/[app]/?[user]&[pass]

rtmp://[wowza-ip]/[app]/username=[user]/password=[pass]

rtmp://[wowza-ip]:1935/[app]/username=[user]/password=[pass]

We were only able to make it work using open / no authentication using the URL:

rtmp://[wowza-ip]/[app]

We are using Wowza 4.0.3.01 running on Amazon EC2.

---

<div class="post-metadata">

### Author: ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)
#### Post date: [June 27, 2014, 6:18am UTC](https://community.wowza.com/t/fms-url-inline-username-and-password-format-for-rtmp-publishing/43298/2 "2014-06-27T06:18:32Z")

</div>

Have you tried [ModuleSecureURLParams](https://www.wowza.com/docs/how-to-secure-publishing-from-an-rtmp-encoder-that-does-not-support-authentication-modulesecureurlparams)? Your publish url would look something like:

```auto
rtmp://[wowza-address]:1935/live/_definst_/doPublish=12345

```
