auth0-kong-authz-authn
Skill by lurodrisilva
MUST USE when authoring, reviewing, debugging, or migrating **authentication and authorization at a Kong API Gateway fronted by Auth0 as the OIDC Identity Provider** — covers the Kong Gateway Enterprise `openid-connect` plugin against Auth0 tenants, the nine credential search modes (`session`, `bearer`, `introspection`, `userinfo`, `kong_oauth2`, `refresh_token`, `password`, `client_credentials`, `authorization_code`), Auth0-specific quirks (the `audience` parameter on `/authorize` and `/oauth/token` to mint API-scoped JWTs instead of opaque tokens, the `https://<tenant>.<region>.auth0.com/` issuer trailing-slash trap, custom domains for first-party auth, the M2M client-credentials grant vs the interactive Universal Login flow, RS256-only signing for production, Auth0 Actions/Rules adding custom claims under a namespaced URI), the four Auth0 application types (SPA, Regular Web App, Native, Machine-to-Machine), Auth0 APIs (Resource Server identifiers used as `audience`), Auth0 connections (database, social, enterprise SAML/OIDC, passwordless) and how they are surfaced to Kong via the `acr`/`amr`/`connection` claims, scopes (`openid profile email` plus API permissions), RBAC via Auth0 roles/permissions claims, JWKS discovery (`/.well-known/jwks.json`), token introspection caveats (Auth0 does NOT implement RFC 7662 for JWTs — use signature verification via JWKS instead), refresh-token rotation, RFC 6750 bearer header, logout via `/v2/logout?client_id=&returnTo=`, mapping Auth0 `sub` / `email` / `azp` / custom claims to Kong Consumers (`consumer_claims`, `consumer_by`, `credential_claim`), `anonymous` fallback consumers for tiered access, claim-based authorization (`scopes_required`, `groups_required`, `roles_required`, `audience_required`, `issuers_allowed`), upstream header injection (`upstream_access_token_header`, `upstream_headers_claims`) so backend services receive the verified identity, session storage choices (cookie vs Redis cluster for HA), PKCE enforcement, mTLS client auth for FAPI, KongPlugin CRD via Kong Ingress Controller, declarative `kong.yaml` via decK, Konnect control-plane config, and Terraform via the `kong/konnect` provider, AND **Kong Gateway Operator (KGO)** with upstream **Gateway API** resources (`GatewayClass`, `Gateway`, `HTTPRoute`, `GRPCRoute`, `ReferenceGrant`) — the operator-managed `GatewayConfiguration`, `DataPlane`, `ControlPlane`, `KonnectExtension`, `KonnectAPIAuthConfiguration`, `KongPlugin`, `KongClusterPlugin`, `KongConsumer`, `KongPluginBinding`, `KongReferenceGrant`, `KongLicense`, `KongVault` CRDs, the `konghq.com/plugins` annotation as the HTTPRoute→KongPlugin binding mechanism, plugin scope precedence (Gateway → Service → HTTPRoute → Consumer), the migration path from KIC + `Ingress` to KGO + `HTTPRoute`, cross-namespace plugin / consumer references via `KongReferenceGrant`. Triggers on phrases — "kong auth0", "kong openid-connect plugin", "secure my api with auth0", "authenticate at the gateway", "machine-to-machine auth0", "m2m kong", "auth0 audience kong", "auth0 jwks kong", "auth0 universal login behind kong", "auth0 to kong consumer mapping", "auth0 rbac kong", "kong oidc anonymous", "kong oidc bearer", "kong oidc client_credentials", "kong oidc authorization_code", "auth0 custom domain kong", "auth0 logout kong", "refresh token rotation kong", "auth0 actions custom claim kong". Triggers on file patterns — `kong.yaml` / `kong.yml` containing `plugin: openid-connect`, `kind: KongPlugin` with `plugin: openid-connect`, Helm values keys `kong.plugins`, Auth0 Deploy CLI manifests under `tenant/` (`applications/*.json`, `resource-servers/*.json`, `actions/*.js`, `rules/*.js`, `roles/*.json`), Terraform files using `auth0_client`, `auth0_resource_server`, `auth0_connection`, `kong_plugin` / `konnect_gateway_plugin`, AND **alethic/auth0-operator** CRDs (`apiVersion: kubernetes.auth0.com/v1` with `kind: Tenant` / `Client` / `ClientGrant` / `ResourceServer` / `Connection`; short names `a0tenant` / `a0app` / `a0cgr` / `a0api` / `a0con`). Authored by a distinguished Platform Engineer — emphasizes **gateway-enforced identity, zero trust upstream, JWKS-not-introspection for JWTs, audience-pinned per-API tokens, fail-closed at the edge**, never upstream auth as the only line of defense, never long-lived static secrets, never HS256 in production.
Install auth0-kong-authz-authn
Built from the published package, never by AI.
git clone --depth 1 https://github.com/lurodrisilva/personal-skills /tmp/personal-skills && mkdir -p ~/.claude/skills && cp -r /tmp/personal-skills/platform-engineering/auth0-kong-authZ-authN ~/.claude/skills/auth0-kong-authz-authnRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/lurodrisilva/personal-skills /tmp/personal-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/personal-skills/platform-engineering/auth0-kong-authZ-authN ~/.gemini/antigravity-cli/skills/auth0-kong-authz-authnAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install auth0-kong-authz-authn in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
Alternatives to auth0-kong-authz-authn
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
auth0-kong-authz-authn: common questions
How do I install auth0-kong-authz-authn?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is auth0-kong-authz-authn free?
The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.
Is auth0-kong-authz-authn safe to use?
It scores 28 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to auth0-kong-authz-authn?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
