• Optional canPay: boolean
Hugging Face field. Whether the user has a payment method set up. Needs “read-billing” scope.
hub/src/lib/oauth-handle-redirect.ts:45
• Optional email: string
OpenID Connect field, available if scope “email” was granted.
hub/src/lib/oauth-handle-redirect.ts:24
• Optional email_verified: boolean
OpenID Connect field, available if scope “email” was granted.
hub/src/lib/oauth-handle-redirect.ts:20
• isPro: boolean
Hugging Face field. Whether the user is a pro user.
hub/src/lib/oauth-handle-redirect.ts:41
• name: string
OpenID Connect field. The user’s full name.
hub/src/lib/oauth-handle-redirect.ts:12
• Optional orgs: { canPay?: boolean ; isEnterprise: boolean ; missingMFA?: boolean ; name: string ; pendingSSO?: boolean ; picture: string ; preferred_username: string ; roleInOrg?: string ; sub: string }[]
Hugging Face field. The user’s orgs
hub/src/lib/oauth-handle-redirect.ts:49
• picture: string
OpenID Connect field. The user’s profile picture URL.
hub/src/lib/oauth-handle-redirect.ts:28
• preferred_username: string
OpenID Connect field. The user’s username.
hub/src/lib/oauth-handle-redirect.ts:16
• profile: string
OpenID Connect field. The user’s profile URL.
hub/src/lib/oauth-handle-redirect.ts:32
• sub: string
OpenID Connect field. Unique identifier for the user, even in case of rename.
hub/src/lib/oauth-handle-redirect.ts:8
• Optional website: string
OpenID Connect field. The user’s website URL.
hub/src/lib/oauth-handle-redirect.ts:36
< > Update on GitHub