Skip to content

Add test for stateless channel access token#465

Merged
Yang-33 merged 1 commit intoline:masterfrom
Yang-33:test-for-stateless-channel-access-token
Apr 4, 2025
Merged

Add test for stateless channel access token#465
Yang-33 merged 1 commit intoline:masterfrom
Yang-33:test-for-stateless-channel-access-token

Conversation

@Yang-33
Copy link
Copy Markdown
Contributor

@Yang-33 Yang-33 commented Apr 4, 2025

POST /oauth2/v3/token is somewhat special. Out of the five parameters, only three need to be filled. For the remaining ones, either specify nil or don't specify them at all, allowing the SDK user to successfully make the request.

Since there is no test for this, this change adds it.

Additionally, this change adds testes to ensure that the Authorization header is not sent by the channel access token client.

@Yang-33 Yang-33 self-assigned this Apr 4, 2025
@Yang-33 Yang-33 requested a review from a team April 4, 2025 06:50
@Yang-33 Yang-33 merged commit 99f2b8f into line:master Apr 4, 2025
6 checks passed
@Yang-33 Yang-33 deleted the test-for-stateless-channel-access-token branch April 4, 2025 08:22
@Yang-33
Copy link
Copy Markdown
Contributor Author

Yang-33 commented Apr 8, 2025

#365

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