POST

Enable Connection


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Enables a connection for user authentication.

This activates a previously created connection, making it available for users to sign in with. Calling this method for a connection that's already enabled succeeds, and the connection stays enabled. To deactivate the connection, call Disable Connection.

Note: The connection ID isn't validated. If no connection exists with the specified ID, the call still succeeds, but no sign-in option is added. To verify that the connection was enabled, call List Enabled Connections Client Data and check that the connection appears in the response.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permission Scopes
SCOPE.IDENTITY.MANAGE-SSO-SITE
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/iam/connection/v1/connections/enabled

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?