Is <permit.io> callback can support GRPC?
# permit-saas
m
Is permit.io callback can support GRPC?
a
Hi @Mithies Ponnusamy, I'm an AI assistant for Permit.io. I'll analyze available sources and get back to you shortly.
Based on the available documentation, Permit.io callbacks do not support gRPC. The callback mechanism uses HTTP/REST endpoints (1) . The
PDP_DATA_UPDATE_CALLBACKS
configuration shows that callbacks are configured with HTTP-based parameters :
Copy code
[  
 {  
 "url": "<http://example.com/callback>",  
 "key": "example",
 "config": {
 "headers": {  
 "Authorization": "Bearer token"  
 },  
 "method": "GET",  
 "data": {  
 "key": "value"  
 }  
 }  
 }  
]
The default configuration specifies
{"method": "POST"}
, which indicates HTTP methods. The callback endpoint
/data/callback_report
also accepts standard HTTP POST requests with JSON payloads (2) . If you need gRPC support for your use case, I'd recommend reaching out to the Permit.io team to discuss alternative integration approaches or potential feature requests.
o
AI is correct.