Skip to content

Commit 6dcd656

Browse files
Pierrcihuggingface-doc-bot
andauthored
clarify org-scoped oauth token access (#2409)
Co-authored-by: huggingface-doc-bot <doc-bot@huggingface.co>
1 parent 81b5ed1 commit 6dcd656

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/hub/oauth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ curl -X POST "https://huggingface.co/oauth/token" \
252252

253253
Tokens issued via Token Exchange have built-in security restrictions:
254254

255-
- **Organization-scoped**: Tokens can only access resources within your organization (models, datasets, Spaces owned by the org), plus any public gated repos outside the org that the user has been individually granted access to (read-only).
255+
- **Organization-scoped**: Tokens can only access resources within your organization (models, datasets, Spaces, and collections owned by the org). Outside the org, access is read-only and limited to: public collections from any user or organization, and public gated repos the user has been individually granted access to.
256256
- **No personal access**: Tokens cannot access the user's personal private repositories or private repos from other organizations.
257257
- **Short-lived**: Tokens expire after 8 hours by default. Organization administrators can configure the token duration (up to 30 days) in the OAuth app settings. No refresh tokens are provided.
258258
- **Auditable**: All token exchanges are logged and visible in your organization's [audit logs](./audit-logs).

0 commit comments

Comments
 (0)