feat: machine-identity token grants and admin surface#2
Merged
Conversation
- get_token: client_credentials (RFC 6749 §4.4, incl. RFC 7523 client_assertion) and RFC 8693 token exchange; only set params sent - /oauth/token body is now form-encoded: the server reads the RFC 8707 resource parameter from the POST form, so JSON would drop it - admin clients: 31 new ops — client registry, trusted issuers, orgs, org members, OIDC/SAML SSO connections, SCIM endpoints - all new admin ops graphql-only: vendored proto stubs predate the new RPCs; enable rest/grpc after re-vendoring - GRANT_TYPE_*/TOKEN_TYPE_*/CLIENT_ASSERTION_TYPE_* constants exported
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Mirrors the authorizer-go/authorizer-js MAI updates for the Python SDK.
get_token (sync + async)
client_credentialsgrant:client_secret,scope, secretlessclient_assertion(_type)subject_token(_type),actor_token(_type),resourceAdmin clients (sync + async, kept in parity)
schema.graphqlsTesting
pytest(unit, respx): 112 passed — 12 new tests asserting exact/oauth/tokenform bodies and admin dispatch, sync + async parityruff checkandmypy srcclean