Skip to content

Commit 28cec3f

Browse files
authored
Clarify resource owner U in OAuth2 reference (#912)
## Changes This PR adds some clarification on the OAuth2 resources endpoint response, where the endpoint may sometimes return a value of `U` in the `ids` list which is equivalent to the authorizing resource owner's ID. ## Checks By submitting your pull request for review, you agree to the following: - [x] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses. - [x] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses. - [x] To the best of my knowledge, all proposed changes are accurate.
1 parent 04c7141 commit 28cec3f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

content/en-us/cloud/reference/oauth2.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ curl --location --request POST https://apis.roblox.com/oauth/v1/token/resources'
252252
253253
<h4>Response</h4>
254254
255+
The value `U` in `ids` indicates that a scope has granted access to a resource owned by the authorizing `owner`.
256+
255257
```json title="Example Obtain Token Resources Response"
256258
{
257259
"resource_infos": [
@@ -263,6 +265,9 @@ curl --location --request POST https://apis.roblox.com/oauth/v1/token/resources'
263265
"resources": {
264266
"universe": {
265267
"ids": ["3828411582"]
268+
},
269+
"creator": {
270+
"ids": ["U"]
266271
}
267272
}
268273
}

0 commit comments

Comments
 (0)