Connections
Create Basic Auth Connection
Use a basic auth connection when needing to authenticate with a third party app using a username and password
We are working on a CLI to make this easier
Create connections folder
Locate the your app folder in the apps directory and add a new connections
folder if it doesn't exist already.
your-new-app.basic-auth.ts
your-new-app.app.ts
Create connection file
Create a new file within your app's connection folder. For a basic auth connection, call it your-new-app.basic-auth.ts
, replacing your-new-app
with your app id (which should match your app file).
Add your own values. We provided mock data to help initialize the process.
-
Name the class: Make sure the class starts with your app class name and ends with
<appName>BasicAuth
-
Add an id:
your-new-app_connection_basic-auth
- Make sure the id follows the format
<app-id>_connection_basic-auth
- Make sure the id follows the format
-
You don't need to modify the name or description.