apiblaze 0.21.5 → 0.21.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/dist/index.js +885 -251
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -96,9 +96,13 @@ The skill teaches Claude to ask "where do your users sign in today?" before crea
|
|
|
96
96
|
npx apiblaze create --target https://api.example.com
|
|
97
97
|
|
|
98
98
|
# 2. YOUR OWN OAuth app on a hosted login page — the agent's users sign in exactly where
|
|
99
|
-
# your users already do. provider is one of: auth0 · google · github · microsoft · facebook.
|
|
99
|
+
# your users already do. provider is one of: oidc · auth0 · google · github · microsoft · facebook.
|
|
100
|
+
# clientSecret is optional for every provider except github and facebook (public client, PKCE is always on).
|
|
100
101
|
npx apiblaze create --target https://api.example.com \
|
|
101
|
-
--oauth «'{"provider":"auth0","clientId":"AbC123…","clientSecret":"s3cr3t…"}'»
|
|
102
|
+
--oauth «'{"provider":"auth0","issuer":"https://acme.auth0.com/","clientId":"AbC123…","clientSecret":"s3cr3t…"}'»
|
|
103
|
+
# Any OpenID Connect IdP (Okta, Entra, Keycloak, Cognito, …) is `oidc` + its issuer URL:
|
|
104
|
+
npx apiblaze create --target https://api.example.com \
|
|
105
|
+
--oauth «'{"provider":"oidc","issuer":"https://acme.okta.com/oauth2/default","clientId":"0oa…"}'»
|
|
102
106
|
|
|
103
107
|
# 3. YOUR OWN JWT issuer — no login page at all; the proxy verifies the tokens you already
|
|
104
108
|
# issue. All three fields are required; jwks is that issuer's JWKS URL.
|