* customize datasource authorization * improve performance * fix save datasource bug * switch auth type from form config * better naming of components * fix minor bug * minor bug fix * minor bug fix * syntax cleanup * Add comments where necessary * Added comments where necessary * fix broken airtable page * code refactor and annotation
7 lines
286 B
TypeScript
7 lines
286 B
TypeScript
import { getAppsmithConfigs } from "@appsmith/configs";
|
|
|
|
const { cloudServicesBaseUrl: BASE_URL } = getAppsmithConfigs();
|
|
|
|
export const authorizeDatasourceWithAppsmithToken = (appsmithToken: string) =>
|
|
`${BASE_URL}/api/v1/integrations/oauth/authorize?appsmithToken=${appsmithToken}`;
|