You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add timeout configuration to get_access_token_for_connection for consistency
- Improve Content-Type parsing with explicit comments for lenient JSON detection
- Enhance unsupported type error messages to explain allowed types
- Clarify case-insensitive Bearer prefix check in error message and docs
- Fix docstring example to use async function context (avoid 'await outside async' warning)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,7 +166,7 @@ asyncio.run(main())
166
166
167
167
**Important:**
168
168
- Client authentication is sent via HTTP Basic (`client_id`/`client_secret`), not in the form body.
169
-
- Do not prefix `subject_token` with "Bearer " - send the raw token value only.
169
+
- Do not prefix `subject_token` with "Bearer " - send the raw token value only (checked case-insensitively).
170
170
- The `subject_token_type` must match a Token Exchange Profile configured in Auth0. This URI identifies which profile will process the exchange and **must not use reserved OAuth namespaces (IETF or vendor-controlled)**. Use your own collision-resistant namespace. See the [Custom Token Exchange documentation](https://auth0.com/docs/authenticate/custom-token-exchange) for naming guidance.
171
171
- If neither an explicit `audience` nor tenant/Action logic sets it, you may receive a token not targeted at your API.
0 commit comments