You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing the domain requires updating the DNS records accordingly, deploying new SSL certificates, updating your Social Connection's redirect URLs and setting the new keys in your code.
WARNING: Changing your domain will invalidate all current user sessions (i.e. users will be logged out). Also, while your application is being deployed, a small downtime is expected to occur.
Example Usage
fromclerk_backend_apiimportClerkwithClerk(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) asclerk:
clerk.instance_settings.change_domain(request={
"home_url": "https://www.newdomain.com",
"is_secondary": False,
})
# Use the SDK ...