Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

feat(tokenizer): default to the opaque provider (#12896)

Pandeyb02aae2db3fc
diff --git a/conf/example.yaml b/conf/example.yaml
index 28aab4aacf..8509a91c47 100644
--- a/conf/example.yaml
+++ b/conf/example.yaml
@@ -341,7 +341,7 @@ gateway:
##################### Tokenizer #####################
tokenizer:
# Specifies the tokenizer provider to use.
- provider: jwt
+ provider: opaque
lifetime:
# The duration for which a user can be idle before being required to authenticate.
idle: 168h
diff --git a/pkg/tokenizer/config.go b/pkg/tokenizer/config.go
index ffe7fac8e5..df659dbc8a 100644
--- a/pkg/tokenizer/config.go
+++ b/pkg/tokenizer/config.go
@@ -69,7 +69,7 @@ func NewConfigFactory() factory.ConfigFactory {
func newConfig() factory.Config {
return &Config{
- Provider: "jwt",
+ Provider: "opaque",
Opaque: OpaqueConfig{
GC: GCConfig{
Interval: 1 * time.Hour, // 1 hour