Use ownership-org-oauth when you need to prove that a user belongs to a company or workspace.
Best For
- enterprise onboarding
- employee-only product access
- org-scoped agent or app controls
Flow Type
Interactive. Users complete hosted NEUS verification with Google or Microsoft first.
Simplest Integration
For most products, do not build your own OAuth UI. Launch hosted /verify and let NEUS run the provider flow.
https://neus.network/verify?preset=org-pack&returnUrl=https://app.example.com/verified
Required Fields
| Field | Required | Notes |
|---|
provider | Yes | google or microsoft |
internalSocialToken | Yes | Filled by the hosted NEUS flow; do not generate it manually |
expectedOrgDomain | No | Restrict the proof to one company domain such as acme.com |
Example Payload
{
"provider": "google",
"internalSocialToken": "<from-hosted-flow>",
"expectedOrgDomain": "acme.com"
}
Use Hosted Verify
This verifier should resolve through /verify instead of a custom OAuth UI.
Only send expectedOrgDomain when access should be limited to a specific company domain. If any valid Google Workspace or Microsoft 365 membership is acceptable, leave it out.