Implementation (Terra widget)
Last updated
Was this helpful?
Last updated
Was this helpful?
Make an API Request to the endpoint from your backend.
The endpoint will generate a widget url in the response. Retrieve it by parsing "url"
.
Pass the retrieved "url"
to your client side, and open it either in:
an in-app browser, if using a mobile app,
or a new tab, if using a web app
You can find a list of all your authenticated users in:
Do not call the API from your frontend, as this will lead to a CORS error.
Do not use WebView or iFrame for the authentication flow. Using them poses security risks due to the invisible URL bar, meaning that the user cannot know the domain onto which they are entering their username & password. Providers may completely block authentication leading to an error during the flow. Instead, use a new tab or an in-app browser to open the URL returned by the /auth
endpoints.
This will take your to the provider selection screen, the Terra authentication widget.
The permissions list can be
Your
Or by using
Do not expose your API credentials. Instead, always call the endpoints from your backend.