Christopher McMahon
10/07/2025, 6:22 AMAsk Inkeep
10/07/2025, 6:22 AMAsk Inkeep
10/07/2025, 6:22 AMhttps://{yourDomain}/.well-known/jwks.json
• AWS Cognito: <https://cognito-idp>.<Region>.<http://amazonaws.com/<userPoolId>/.well-known/jwks.json|amazonaws.com/<userPoolId>/.well-known/jwks.json>
• Clerk.com: https://<YOUR_FRONTEND_API>/.well-known/jwks.json
Regarding your concern about http.send and production use, while the sources don't specifically address the "not recommended for production" aspect of http.send in the context of JWKs validation, they do emphasize that JWTs themselves aren't made for authorization - they're made for verification, exchanging tokens, and token-based authentication (2) . The proper approach is to use JWTs as a source of truth for user identity to query an external authorization service .
For production JWT validation in Permit.io's ecosystem, the documentation shows integration with established authentication providers and their JWKS endpoints (1) , suggesting this is indeed a valid use case where external HTTP calls to retrieve signing keys are necessary and expected.Ask Inkeep
10/07/2025, 6:23 AMOr Weis
10/07/2025, 6:34 AM