You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the subjects of an authorization context are defined as a fixed string, which means you have to grant this subject access to all devices of a connection. To provide more flexibility we want to introduce placeholders in the authorization subject which are replaced before the signal is processed in Ditto.
For example you can define the authorization context of a connection as:
The placeholder {{ header:device-id }} is then replaced by the value of the device-id header . If a placeholder cannot be resolved, e.g. because the specified header is missing, the message is rejected.
The text was updated successfully, but these errors were encountered:
Currently the subjects of an authorization context are defined as a fixed string, which means you have to grant this subject access to all devices of a connection. To provide more flexibility we want to introduce placeholders in the authorization subject which are replaced before the signal is processed in Ditto.
For example you can define the authorization context of a connection as:
The placeholder
{{ header:device-id }}
is then replaced by the value of thedevice-id
header . If a placeholder cannot be resolved, e.g. because the specified header is missing, the message is rejected.The text was updated successfully, but these errors were encountered: