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
You note You can define multiple roles by adding more [[roles]], and authentication methods are described in the section below.. Three questions on that:
Is this even possible or would I define multiple roles if I had more routes to be allowed? Since it does look like an array would the following work: routes = ["GET /v1/openvpn/portforwarded", "GET /v1/openvpn/status"]
3. Does the name of the role have any relevance?
Is the name of the route just a label and / or does it need to be unique per role?
The text was updated successfully, but these errors were encountered:
URL to the Wiki page
https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/control-server.md#authentication
What's missing?
On the authentication page https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/control-server.md#authentication the new necessary
config.toml
is specified.You note You can define multiple roles by adding more
[[roles]]
, and authentication methods are described in the section below.. Three questions on that:1. How do you specify multiple roles?
Just add multiple roles sections? Array?
2. How to you specify multiple routes per role?
Is this even possible or would I define multiple roles if I had more routes to be allowed? Since it does look like an array would the following work:
routes = ["GET /v1/openvpn/portforwarded", "GET /v1/openvpn/status"]
3. Does the name of the role have any relevance?
Is the name of the route just a label and / or does it need to be unique per role?
The text was updated successfully, but these errors were encountered: