#I've enabled the preshared keys authn
1 messages · Page 1 of 1 (latest)
server:
rate_limit: 100
http:
enabled: true
port: 3476
tls:
enabled: false
logger:
level: info
profiler:
enabled: false
service:
circuit_breaker: true
watch:
enabled: true
authn:
enabled: true
method: preshared
preshared:
keys:
['THIS_IS_MY_SECREY_KEY']
database:
engine: postgres
auto_migrate: false
max_open_connections: 20
max_idle_connections: 1
max_connection_lifetime: 300s
max_connection_idle_time: 60s
garbage_collection:
enabled: true
interval: 200h
window: 200h
timeout: 5m
distributed:
enabled: false
I'm not passing any headers in with my requests and they're still succeeding
I've also tried with an invalid header "Authorization: Bearer INVALID_KEY" and the request also succeeded.
Hello @lunar zodiac , which version of Permify are you using?
permify:
image: ghcr.io/permify/permify:latest
container_name: permify
restart: unless-stopped
command: serve
ports:
- 3476:3476
- 3478:3478
- 6060:6060
volumes:
- ./permify:/config
depends_on:
- postgres
Can you change image tag with this ghcr.io/permify/permify:v0.9.1
Same result
@lunar zodiac Can you share me the folder structure? Where is config.yaml located?