Skip to content

Commit

Permalink
fix doc: user token grant response
Browse files Browse the repository at this point in the history
- clarify that this field is always null (instead of
explaining a lot about the various formats of the access token
when no access token will be returned)
  • Loading branch information
peterhaochen47 committed Mar 22, 2024
1 parent 758ef73 commit a6d43bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ void getTokenUsingUserTokenGrant() throws Exception {
);

Snippet responseFields = responseFields(
accessTokenFieldDescriptor,
fieldWithPath("access_token").description("This field is always `null`."),
tokenTypeFieldDescriptor,
expiresInFieldDescriptor,
scopeFieldDescriptorWhenUserToken,
Expand Down

0 comments on commit a6d43bd

Please sign in to comment.