Skip to content

docs(spec): fix section 6.9 formatting and add credential examples#1869

Open
evan-cohen wants to merge 9 commits into
a2aproject:mainfrom
evan-cohen:section-6.9-headings
Open

docs(spec): fix section 6.9 formatting and add credential examples#1869
evan-cohen wants to merge 9 commits into
a2aproject:mainfrom
evan-cohen:section-6.9-headings

Conversation

@evan-cohen

Copy link
Copy Markdown

Steps 2 and 3 in section 6.9 were using <h3> elements, causing them to incorrectly appear as direct children of section 6.

https://a2a-protocol.org/latest/specification/#69-fetching-authenticated-extended-agent-card

Screenshot 2026-05-21 at 12 36 54 PM

Steps 2 and 3 in section 6.9 were using `<h3>` elements, causing them to incorrectly appear as direct children of section 6.
@evan-cohen evan-cohen requested a review from a team as a code owner May 21, 2026 16:39

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the formatting in docs/specification.md by changing the headers for Step 2 and Step 3 to bold text. A review comment suggests adding a trailing colon to the Step 3 label to maintain consistency with other similar labels in the documentation.

Comment thread docs/specification.md Outdated
Comment thread docs/specification.md

### Step 2: Client obtains credentials (out-of-band OAuth 2.0 flow)
**Step 2: Client obtains credentials (out-of-band OAuth 2.0 flow):**

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! For Step 2, I feel we are missing some info.

Can you check ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I'm following. I'm only changing the formatting here to remove the steps from the sidebar.

I'd imagine this section doesn't have a corresponding code block because this example isn't opinionated on a certain OAuth2 grant type. I've added a client credentials grant example, but please let me know if this isn't what you intended.

@msampathkumar msampathkumar requested review from a team as code owners June 4, 2026 16:49
Comment thread .github/actions/spelling/expect.txt
Comment thread docs/specification.md Outdated
```http
POST /token HTTP/1.1
Host: authorization-server.example.com
Authorization: Basic dXNlcjpwYXNz

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Authorization: Basic dXNlcjpwYXNz
Authorization: Bearer token

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this suggestion. This HTTP request represents an OAuth2 client credentials grant using basic auth against the token endpoint of an authorization server. The "dXNlcjpwYXNz" magic string is the base64-encoded representation of "user:pass". Is there an alternate placeholder you'd prefer?

Comment thread docs/specification.md Outdated

```json
{
"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"access_token": "...",

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used this partial JWT to be consistent with section 3.6.1, but I can deviate from that if you'd prefer.

Comment thread .github/linters/.gitleaks.toml Outdated
@msampathkumar

Copy link
Copy Markdown
Member

@evan-cohen Please joing next A2A meeting to share and drive this effort.

Discord & Meeting Details are in Governence.md file of this repo.

@msampathkumar msampathkumar changed the title docs: demote §6.9 subheadings docs(spec): demote §6.9 subheadings Jun 4, 2026
@msampathkumar msampathkumar changed the title docs(spec): demote §6.9 subheadings docs(spec): fix section 6.9 formatting and add credential examples Jun 4, 2026
@evan-cohen

Copy link
Copy Markdown
Author

I tried to apply the feedback from your suggestions. Please let me know if you had a different idea in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants