Unverified Commit fad98403 authored by Dan Jones's avatar Dan Jones
Browse files

docs: explain auth placeholder code

parent 006c23be
......@@ -22,6 +22,15 @@ decided what the infrastructure looks like.
There is a parallel flow when a client sends to `client-a-notify` in which case the
messages are delivered through the broadcast exchange to all clients `client-x-inbox`.
### Auth placeholder
As a proxy for proper authentication, when you post a client a random secret is
returned in the response. To send to / receive from the bus you then call the API
with the client_id and secret and it checks they match. The client_id determines
which queues it reads from.
Subsequent requests to the client endpoint return the client_id but not the secret.
### Setup
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment