2021-09-25 19:12:05 +02:00
|
|
|
{
|
|
|
|
"Stuns": [
|
|
|
|
{
|
|
|
|
"Proto": "udp",
|
2022-05-22 18:53:47 +02:00
|
|
|
"URI": "stun:$NETBIRD_DOMAIN:3478",
|
2021-09-25 19:12:05 +02:00
|
|
|
"Username": "",
|
|
|
|
"Password": null
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"TURNConfig": {
|
|
|
|
"Turns": [
|
|
|
|
{
|
|
|
|
"Proto": "udp",
|
2022-05-22 18:53:47 +02:00
|
|
|
"URI": "turn:$NETBIRD_DOMAIN:3478",
|
2022-03-05 11:20:04 +01:00
|
|
|
"Username": "$TURN_USER",
|
|
|
|
"Password": "$TURN_PASSWORD"
|
2021-09-25 19:12:05 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"CredentialsTTL": "12h",
|
|
|
|
"Secret": "secret",
|
|
|
|
"TimeBasedCredentials": false
|
|
|
|
},
|
|
|
|
"Signal": {
|
2023-04-04 00:21:40 +02:00
|
|
|
"Proto": "$NETBIRD_SIGNAL_PROTOCOL",
|
|
|
|
"URI": "$NETBIRD_DOMAIN:$NETBIRD_SIGNAL_PORT",
|
2021-09-25 19:12:05 +02:00
|
|
|
"Username": "",
|
|
|
|
"Password": null
|
|
|
|
},
|
|
|
|
"Datadir": "",
|
|
|
|
"HttpConfig": {
|
2022-05-22 18:53:47 +02:00
|
|
|
"Address": "0.0.0.0:$NETBIRD_MGMT_API_PORT",
|
2022-08-17 21:44:20 +02:00
|
|
|
"AuthIssuer": "$NETBIRD_AUTH_AUTHORITY",
|
|
|
|
"AuthAudience": "$NETBIRD_AUTH_AUDIENCE",
|
|
|
|
"AuthKeysLocation": "$NETBIRD_AUTH_JWT_CERTS",
|
2023-02-03 21:47:20 +01:00
|
|
|
"AuthUserIDClaim": "$NETBIRD_AUTH_USER_ID_CLAIM",
|
2022-05-22 18:53:47 +02:00
|
|
|
"CertFile":"$NETBIRD_MGMT_API_CERT_FILE",
|
2022-08-24 14:37:18 +02:00
|
|
|
"CertKey":"$NETBIRD_MGMT_API_CERT_KEY_FILE",
|
|
|
|
"OIDCConfigEndpoint":"$NETBIRD_AUTH_OIDC_CONFIGURATION_ENDPOINT"
|
2022-01-24 11:21:30 +01:00
|
|
|
},
|
|
|
|
"IdpManagerConfig": {
|
2023-06-02 17:34:36 +02:00
|
|
|
"ManagerType": "$NETBIRD_MGMT_IDP",
|
|
|
|
"ClientConfig": {
|
|
|
|
"Issuer": "$NETBIRD_AUTH_AUTHORITY",
|
|
|
|
"TokenEndpoint": "$NETBIRD_AUTH_TOKEN_ENDPOINT",
|
|
|
|
"ClientID": "$NETBIRD_IDP_MGMT_CLIENT_ID",
|
|
|
|
"ClientSecret": "$NETBIRD_IDP_MGMT_CLIENT_SECRET",
|
|
|
|
"GrantType": "client_credentials"
|
|
|
|
},
|
|
|
|
"ExtraConfig": $NETBIRD_IDP_MGMT_EXTRA_CONFIG
|
2022-08-24 14:37:18 +02:00
|
|
|
},
|
|
|
|
"DeviceAuthorizationFlow": {
|
|
|
|
"Provider": "$NETBIRD_AUTH_DEVICE_AUTH_PROVIDER",
|
|
|
|
"ProviderConfig": {
|
2023-04-04 15:56:02 +02:00
|
|
|
"Audience": "$NETBIRD_AUTH_DEVICE_AUTH_AUDIENCE",
|
2022-08-24 14:37:18 +02:00
|
|
|
"Domain": "$NETBIRD_AUTH0_DOMAIN",
|
|
|
|
"ClientID": "$NETBIRD_AUTH_DEVICE_AUTH_CLIENT_ID",
|
|
|
|
"TokenEndpoint": "$NETBIRD_AUTH_TOKEN_ENDPOINT",
|
2023-04-05 21:57:47 +02:00
|
|
|
"DeviceAuthEndpoint": "$NETBIRD_AUTH_DEVICE_AUTH_ENDPOINT",
|
|
|
|
"Scope": "$NETBIRD_AUTH_DEVICE_AUTH_SCOPE",
|
|
|
|
"UseIDToken": $NETBIRD_AUTH_DEVICE_AUTH_USE_ID_TOKEN
|
2022-08-24 14:37:18 +02:00
|
|
|
}
|
2023-07-27 11:31:07 +02:00
|
|
|
},
|
|
|
|
"PKCEAuthorizationFlow": {
|
|
|
|
"ProviderConfig": {
|
|
|
|
"Audience": "$NETBIRD_AUTH_AUDIENCE",
|
|
|
|
"ClientID": "$NETBIRD_AUTH_CLIENT_ID",
|
|
|
|
"ClientSecret": "$NETBIRD_AUTH_CLIENT_SECRET",
|
|
|
|
"AuthorizationEndpoint": "$NETBIRD_AUTH_PKCE_AUTHORIZATION_ENDPOINT",
|
|
|
|
"TokenEndpoint": "$NETBIRD_AUTH_TOKEN_ENDPOINT",
|
|
|
|
"Scope": "$NETBIRD_AUTH_SUPPORTED_SCOPES",
|
|
|
|
"RedirectURLs": [$NETBIRD_AUTH_PKCE_REDIRECT_URLS],
|
|
|
|
"UseIDToken": $NETBIRD_AUTH_PKCE_USE_ID_TOKEN
|
|
|
|
}
|
2022-08-24 14:37:18 +02:00
|
|
|
}
|
2023-02-03 21:47:20 +01:00
|
|
|
}
|