Setup Web Mini-app
Follow steps below to setup a web mini-app
#
Connect with Javascript bridgeThis step is required if you need to access Terra
features (currently only run in native code). Please refer Javascript bridge for more information.
#
Setup params on Terra DashboardPlease provide us following data, we will do it for you:
- Your web app
url
for different environment (for example dev/stage/production...) - Extra query params that you want to pass to the
url
#
Handle terra's default query params in your web app codeBy default, terra will pass some query params:
Name | Mandatory | Description | Note |
---|---|---|---|
terraIdToken | no | The idToken exchanged if this web app uses Exchange Token Flow | This is Base64 encrypted |