Authorization
WSSE Auth
Send a WS-Security UsernameToken to SOAP or legacy services, with the two headers Luvin adds.
1 min read# WSSE Auth
Use **WSSE Auth** when a SOAP or legacy service asks for a WS-Security *UsernameToken*: a username and a password digest instead of the password.
## Example
**Type** `WSSE Auth`, **Username** `ana`, **Password** `secret`. Luvin adds two headers:
```text
X-WSSE: UsernameToken Username="ana", PasswordDigest="…", Nonce="…", Created="2026-11-17T14:03:22.000Z"
Authorization: WSSE profile="UsernameToken"
```
`PasswordDigest` is the base64 of the SHA-1 of the nonce, the creation date and the password. The nonce and the date are new on every send.
## Fields
| Field | What to write |
|---|---|
| **Username** | The user. |
| **Password** | The password. A secret field. |
## Rules
- It replaces an `Authorization` header you wrote yourself.
- The digest is calculated when sending. In **Headers** the row reads *Luvin calculates it when sending (WSSE)*.
## Secrets
**Password** is a secret: stored encrypted on your computer when typed as-is. **Username** goes to the file. See [Secrets](/authorization/secrets/).
## Related
- [Basic Auth](/authorization/basic/)
- [Authorization overview](/authorization/overview/)
Use WSSE Auth when a SOAP or legacy service asks for a WS-Security UsernameToken: a username and a password digest instead of the password.
Example
Section titled “Example”Type WSSE Auth, Username ana, Password secret. Luvin adds two headers:
X-WSSE: UsernameToken Username="ana", PasswordDigest="…", Nonce="…", Created="2026-11-17T14:03:22.000Z"Authorization: WSSE profile="UsernameToken"PasswordDigest is the base64 of the SHA-1 of the nonce, the creation date and the password. The nonce and the date are new on every send.
Fields
Section titled “Fields”| Field | What to write |
|---|---|
| Username | The user. |
| Password | The password. A secret field. |
- It replaces an
Authorizationheader you wrote yourself. - The digest is calculated when sending. In Headers the row reads Luvin calculates it when sending (WSSE).
Secrets
Section titled “Secrets”Password is a secret: stored encrypted on your computer when typed as-is. Username goes to the file. See Secrets.