Auth0: JWKS vs JWKS URI
Choose local JWKS or remote JWKS URI based on whether you want static config or dynamic key retrieval.
When to use this
What this does not do
Repo-grounded example
{
"authorizer": {
"type": "auth0",
"domain": "$env.AUTH0_DOMAIN",
"client_id": "$env.AUTH0_CLIENT_ID",
"client_secret": "$secrets.AUTH0_CLIENT_SECRET",
"redirect_uri": "https://api.example.com/api/v1/auth0/callback",
"callback_uri": "https://app.example.com/auth/callback",
"jwks_uri": "https://tenant.us.auth0.com/.well-known/jwks.json",
"scope": "openid profile email"
},
"paths": [
{
"method": "GET",
"path": "/api/v1/auth0/callback",
"integration": { "type": "auth0_callback" }
}
]
}Troubleshooting
Related docs
Last updated