Setup Web Mini-app
Follow steps below to setup a web mini-app
Connect with Javascript bridge#
This 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 Dashboard#
Please provide us following data, we will do it for you:
- Your web app
urlfor 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 code#
By 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 |