Create a Connect Webview
Use Connect Webviews to enable your users to connect their devices and systems to Seam.
Last updated
Use Connect Webviews to enable your users to connect their devices and systems to Seam.
Last updated
© Seam Labs, Inc. All rights reserved.
To enable a user to connect their devices or systems to Seam, they must sign in to their device or system account. To enable a user to sign in, you create a connect_webview
. After creating the Connect Webview object, you receive a URL that you can use to display the visual component of this Connect Webview for your user. You can open an iframe or new window to display the Connect Webview.
POST
https://connect.getseam.com/connect_webviews/create
Parameter | Type | Description |
---|---|---|
| String | Specifies the category of providers to include. Supported categories:
|
| String[] | Array of accepted device provider keys as an alternative to |
| String Optional | URL to redirect user to after provider login is complete |
| String Optional | Alternative URL to redirect the user on error. If this is not set, falls back to |
| Boolean | Indicates whether newly added devices should appear as managed devices
Default: |
You should make a newconnect_webview
for each unique login request.
Each connect_webview
tracks the user that signed in with it. You receive an error if you reuse a Connect Webview for the same user twice or if you use the same Connect Webview for multiple users.
This section shows the JSON response returned by the API. Since each language encapsulates this response inside objects specific to that language and/or implementation, the actual type in your language might differ from what’s written here.