mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 16:26:38 +00:00
using go http reverseproxy with OIDC auth
This commit is contained in:
@@ -1,9 +1,27 @@
|
||||
{
|
||||
"listen_address": ":8080",
|
||||
"target_url": "http://localhost:3000",
|
||||
"listen_address": ":443",
|
||||
"read_timeout": "30s",
|
||||
"write_timeout": "30s",
|
||||
"idle_timeout": "60s",
|
||||
"shutdown_timeout": "10s",
|
||||
"log_level": "info"
|
||||
"log_level": "info",
|
||||
"grpc_listen_address": ":50051",
|
||||
"proxy_id": "proxy-1",
|
||||
"enable_grpc": true,
|
||||
"http_listen_address": ":80",
|
||||
"enable_https": false,
|
||||
"tls_email": "your-email@example.com",
|
||||
"cert_cache_dir": "./certs",
|
||||
"oidc_config": {
|
||||
"provider_url": "https://your-oidc-provider.com",
|
||||
"client_id": "your-client-id",
|
||||
"client_secret": "your-client-secret-if-needed",
|
||||
"redirect_url": "http://localhost:80/auth/callback",
|
||||
"scopes": ["openid", "profile", "email"],
|
||||
"jwt_keys_location": "https://your-oidc-provider.com/.well-known/jwks.json",
|
||||
"jwt_issuer": "https://your-oidc-provider.com/",
|
||||
"jwt_audience": ["your-api-identifier-or-client-id"],
|
||||
"jwt_idp_signkey_refresh_enabled": false,
|
||||
"session_cookie_name": "auth_session"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user