Custom OAuth domains is only available on certain plans. See plans and pricing.
Add a domain
1
Add the domain
- Open Organization > Domains.
- Select Add domain.
- In Domain, enter a subdomain you control, such as
auth.acme.com. Root domains, wildcards, ports, and paths aren’t supported. - Select Add domain. The domain’s DNS records open.
2
Prove you own it
- With your DNS provider, create the TXT record shown in the DNS records.
- Select Verify. The domain becomes Verified once StackOne finds the record.
3
Route callbacks to StackOne
- With your DNS provider, create the CNAME record shown in the DNS records.
- Select Check again.
Use a domain on a Connector Profile
1
Choose the callback domain
- Open Connectors and open the connector.
- Add an OAuth profile, or select Edit profile from an existing profile’s menu. See Connector Profiles.
- In Callback domain, select your domain.
- Select Create Profile or Save Changes.
2
Register the callback URL with the provider
Copy the Callback URL from the profile and register it as the redirect URI in the provider’s OAuth app. On a custom domain it takes the form
https://<your-domain>/connect/oauth2/<connector-key>/callback.A profile uses its custom domain only while your plan includes custom OAuth domains. Without it, the profile goes back to StackOne’s callback URL.
Delete a domain
A domain can’t be deleted while a Connector Profile uses it.1
Move profiles off the domain
For each Connector Profile that uses the domain:
- Set Callback domain to StackOne default or another active domain.
- Update the redirect URI registered with the provider to the profile’s new Callback URL.
2
Delete the domain
- Open Organization > Domains.
- Select Delete from the domain’s row menu.
- Select Delete.
Related
Connector Profiles
Set up how each group of users connects to a provider.
Use Your Own OAuth Apps
Register your own OAuth app with a provider instead of StackOne’s.